Obsolete Members for QAbstractEventDispatcher

以下成員源於類 QAbstractEventDispatcher 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) void dumpObjectInfo ()
(obsolete) void dumpObjectTree ()
(obsolete) bool filterEvent (void * message )
(obsolete) virtual void flush () = 0
(obsolete) virtual bool hasPendingEvents () = 0
(obsolete) void registerTimer (int timerId , int interval , QObject * object )
(obsolete) int registerTimer (int interval , QObject * object )

靜態公共成員

(obsolete) QString trUtf8 (const char * sourceText , const char * disambiguation = Q_OBJECT, int n = Q_OBJECT)

成員函數文檔編製

bool QAbstractEventDispatcher:: filterEvent ( void * message )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

調用 filterNativeEvent () with an empty eventType and message 。此函數返迴 true as soon as an event filter returns true , and false otherwise to indicate that the processing of the event should continue.

[pure virtual] void QAbstractEventDispatcher:: flush ()

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Depending from the event dispatcher implementation does nothing or calls QApplication::sendPostedEvents().

[pure virtual] bool QAbstractEventDispatcher:: hasPendingEvents ()

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

返迴 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.

void QAbstractEventDispatcher:: registerTimer ( int timerId , int interval , QObject * object )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

注冊計時器采用指定 timerId and interval 為給定 object .

int QAbstractEventDispatcher:: registerTimer ( int interval , QObject * object )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Registers a timer with the specified interval 為給定 object and returns the timer id.