diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-08-31 13:39:48 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-09-06 00:17:12 +0200 |
commit | 75d1d2a91376c3338510cf1e5fa10feaf8df5785 (patch) | |
tree | d75b6d14ea3f9bb72b10c71c64b21fdb00f9fc13 /src/corelib/kernel/qabstracteventdispatcher.cpp | |
parent | 2caa2faf01d66904b912fe1b1b443b5932d928d0 (diff) |
Get rid of hasPendingEvents() and flush()
They are unused.
Change-Id: I77383f2be45551401ed9c2f88285511134cc8b0d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/kernel/qabstracteventdispatcher.cpp')
-rw-r--r-- | src/corelib/kernel/qabstracteventdispatcher.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/corelib/kernel/qabstracteventdispatcher.cpp b/src/corelib/kernel/qabstracteventdispatcher.cpp index 9f655a50d8..546d34b8b6 100644 --- a/src/corelib/kernel/qabstracteventdispatcher.cpp +++ b/src/corelib/kernel/qabstracteventdispatcher.cpp @@ -210,8 +210,6 @@ QAbstractEventDispatcher *QAbstractEventDispatcher::instance(QThread *thread) \b{Note:} This function does not process events continuously; it returns after all available events are processed. - - \sa hasPendingEvents() */ /*! @@ -223,14 +221,6 @@ QAbstractEventDispatcher *QAbstractEventDispatcher::instance(QThread *thread) events. For timers and system level events, the situation is unknown. */ -/*! \fn bool QAbstractEventDispatcher::hasPendingEvents() - \deprecated - - Returns \c true if there is an event waiting; otherwise returns false. This - function is an implementation detail for - QCoreApplication::hasPendingEvents() and must not be called directly. -*/ - /*! \fn void QAbstractEventDispatcher::registerSocketNotifier(QSocketNotifier *notifier) @@ -326,13 +316,6 @@ int QAbstractEventDispatcher::registerTimer(int interval, Qt::TimerType timerTyp return from processEvents() as soon as possible. */ -/*! \fn void QAbstractEventDispatcher::flush() - \deprecated - - Depending from the event dispatcher implementation does nothing or - calls QApplication::sendPostedEvents(). -*/ - // ### DOC: Are these called when the _application_ starts/stops or just // when the current _event loop_ starts/stops? /*! |