summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h.cmake
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/tqt.h.cmake
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/tqt.h.cmake')
-rw-r--r--qtinterface/tqt.h.cmake11
1 files changed, 9 insertions, 2 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index e81c27c..7628444 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -1004,8 +1004,15 @@ Boston, MA 02110-1301, USA.
#define tqwhatsThisCursor Qt::whatsThisCursor
#define tqbusyCursor Qt::busyCursor
-#define SET_QTX_TIME(x) (qt_x_time = x)
-#define GET_QTX_TIME(x) qt_x_time
+extern void set_tqt_x_time(Time x);
+extern Time get_tqt_x_time(void);
+extern void set_tqt_x_user_time(Time x);
+extern Time get_tqt_x_user_time(void);
+
+#define SET_QT_X_TIME(x) set_tqt_x_time(x)
+#define GET_QT_X_TIME(x) get_tqt_x_time()
+#define SET_QT_X_USER_TIME(x) set_tqt_x_time(x)
+#define GET_QT_X_USER_TIME(x) get_tqt_x_time()
#endif // USE_QT3