summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qmutex.h')
-rw-r--r--src/corelib/thread/qmutex.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h
index 0f3a72d43f..cc667560db 100644
--- a/src/corelib/thread/qmutex.h
+++ b/src/corelib/thread/qmutex.h
@@ -76,20 +76,6 @@ public:
void unlock(); //### Qt5: make inline;
inline void unlockInline();
-#if defined(QT3_SUPPORT)
- inline QT3_SUPPORT bool locked()
- {
- if (!tryLock())
- return true;
- unlock();
- return false;
- }
- inline QT3_SUPPORT_CONSTRUCTOR QMutex(bool recursive)
- {
- new (this) QMutex(recursive ? Recursive : NonRecursive);
- }
-#endif
-
private:
void lockInternal();
void unlockInternal();
@@ -217,10 +203,6 @@ public:
static inline void unlock() {}
static inline void unlockInline() {}
-#if defined(QT3_SUPPORT)
- static inline QT3_SUPPORT bool locked() { return false; }
-#endif
-
private:
Q_DISABLE_COPY(QMutex)
};