PyQt4 for Embedded Linux / PyQt4-Qt-Embedded-Linux-patches / sip / QtCore / qreadwritelock.sip.diff

--- sip/QtCore/qreadwritelock.sip.old	2012-09-23 23:16:38.000000000 +0200
+++ sip/QtCore/qreadwritelock.sip	2012-09-23 23:21:20.000000000 +0200
@@ -33,6 +33,7 @@
 
 public:
 %If (Qt_4_4_0 -)
+%If (PyQt_Thread)
 
     enum RecursionMode
     {
@@ -48,8 +49,10 @@
     QReadWriteLock();
 %End
 %If (Qt_4_4_0 - Qt_5_0_0)
+%If (PyQt_Thread)
     QReadWriteLock(QReadWriteLock::RecursionMode recursionMode);
 %End
+%End
     ~QReadWriteLock();
     void lockForRead() /ReleaseGIL/;
     bool tryLockForRead();
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.