summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qwaitcondition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qwaitcondition.h')
-rw-r--r--src/corelib/thread/qwaitcondition.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/thread/qwaitcondition.h b/src/corelib/thread/qwaitcondition.h
index d2e018834a..a0c6766833 100644
--- a/src/corelib/thread/qwaitcondition.h
+++ b/src/corelib/thread/qwaitcondition.h
@@ -65,6 +65,9 @@ public:
void wakeOne();
void wakeAll();
+ void notify_one() { wakeOne(); }
+ void notify_all() { wakeAll(); }
+
private:
Q_DISABLE_COPY(QWaitCondition)