summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqapplication.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-03 20:48:17 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-03 20:48:17 +0000
commit60ea0acdd5f443edb36f9a127d13488d709ad337 (patch)
treeb8708fe478253843e06c107dd94939d00cc44bb5 /qtinterface/tqapplication.cpp
parent9c3b65831abc4e956ca4cd9bceaf9dd3304dc4d0 (diff)
downloadtqtinterface-60ea0acdd5f443edb36f9a127d13488d709ad337.tar.gz
tqtinterface-60ea0acdd5f443edb36f9a127d13488d709ad337.zip
Add QT_X_USER_TIME macros
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1226980 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqapplication.cpp')
-rw-r--r--qtinterface/tqapplication.cpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/qtinterface/tqapplication.cpp b/qtinterface/tqapplication.cpp
index 7f381b6..eb3ada7 100644
--- a/qtinterface/tqapplication.cpp
+++ b/qtinterface/tqapplication.cpp
@@ -22,6 +22,27 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <tqapplication.h>
+#ifdef USE_QT3
+extern Time qt_x_time;
+extern Time qt_x_user_time;
+
+void set_tqt_x_time(Time x) {
+ qt_x_time = x;
+}
+
+Time get_tqt_x_time(void) {
+ return qt_x_time;
+}
+
+void set_tqt_x_user_time(Time x) {
+ qt_x_user_time = x;
+}
+
+Time get_tqt_x_user_time(void) {
+ return qt_x_user_time;
+}
+#endif
+
#ifdef USE_QT4
// void QApplication::processOneEvent()
@@ -44,4 +65,4 @@ void QApplication::removeTranslator( QTranslator * mf )
#warning "!!! WARNING: QApplication::removeTranslator() UNIMPLEMENTED !!!"
}
-#endif // USE_QT4 \ No newline at end of file
+#endif // USE_QT4