summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqapplication.cpp')
-rw-r--r--qtinterface/tqapplication.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/qtinterface/tqapplication.cpp b/qtinterface/tqapplication.cpp
index eb3ada7..26a20d6 100644
--- a/qtinterface/tqapplication.cpp
+++ b/qtinterface/tqapplication.cpp
@@ -22,23 +22,25 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <tqapplication.h>
+#include <X11/X.h>
+
#ifdef USE_QT3
extern Time qt_x_time;
extern Time qt_x_user_time;
-void set_tqt_x_time(Time x) {
+void set_tqt_x_time(unsigned long x) {
qt_x_time = x;
}
-Time get_tqt_x_time(void) {
+unsigned long get_tqt_x_time(void) {
return qt_x_time;
}
-void set_tqt_x_user_time(Time x) {
+void set_tqt_x_user_time(unsigned long x) {
qt_x_user_time = x;
}
-Time get_tqt_x_user_time(void) {
+unsigned long get_tqt_x_user_time(void) {
return qt_x_user_time;
}
#endif