summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqapplication_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqapplication_x11.cpp')
-rw-r--r--src/kernel/tqapplication_x11.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/kernel/tqapplication_x11.cpp b/src/kernel/tqapplication_x11.cpp
index 6744532f4..f180f8b9a 100644
--- a/src/kernel/tqapplication_x11.cpp
+++ b/src/kernel/tqapplication_x11.cpp
@@ -435,6 +435,27 @@ TQ_EXPORT TQTextCodec * qt_input_mapper = 0;
TQ_EXPORT Time tqt_x_time = CurrentTime;
TQ_EXPORT Time tqt_x_user_time = CurrentTime;
+
+void set_tqt_x_time(unsigned long x)
+{
+ tqt_x_time = x;
+}
+
+unsigned long get_tqt_x_time(void)
+{
+ return tqt_x_time;
+}
+
+void set_tqt_x_user_time(unsigned long x)
+{
+ tqt_x_user_time = x;
+}
+
+unsigned long get_tqt_x_user_time(void)
+{
+ return tqt_x_user_time;
+}
+
extern bool qt_check_clipboard_sentinel(); //def in tqclipboard_x11.cpp
extern bool qt_check_selection_sentinel(); //def in tqclipboard_x11.cpp