diff options
Diffstat (limited to 'src/systeminfo/qsystemalignedtimer.cpp')
-rw-r--r-- | src/systeminfo/qsystemalignedtimer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/systeminfo/qsystemalignedtimer.cpp b/src/systeminfo/qsystemalignedtimer.cpp index ca4ccbbc2f..981443089d 100644 --- a/src/systeminfo/qsystemalignedtimer.cpp +++ b/src/systeminfo/qsystemalignedtimer.cpp @@ -45,11 +45,18 @@ QTM_BEGIN_NAMESPACE +Q_GLOBAL_STATIC(QSystemAlignedTimerPrivate, alignedTimerPrivate) + +#ifdef QT_SIMULATOR +QSystemAlignedTimerPrivate *getSystemAlignedTimerPrivate() { return alignedTimerPrivate(); } +#endif + /*! \class QSystemAlignedTimer \ingroup systeminfo \inmodule QtSystemInfo \brief The QSystemAlignedTimer class provides a service for applications to synchronize their activity. + \since 1.2 QSystemAlignedTimer is a fuzzy timer that allows applications that must do periodic activity like after being in sleep mode a certain period, to synchronize their activities in the same window of time. |