diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-23 10:54:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-23 11:01:54 +0900 |
commit | e84b6d8935842fb8dcee9dc42f8f35f36ee72748 (patch) | |
tree | 87bd11a4de4520261dadaef71da17259e870db02 /tdecore/tdeapplication.cpp | |
parent | 3373b45cc2adb7d46c45c3da06f64d5db24cb468 (diff) | |
download | tdelibs-e84b6d8935842fb8dcee9dc42f8f35f36ee72748.tar.gz tdelibs-e84b6d8935842fb8dcee9dc42f8f35f36ee72748.zip |
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 73dba53e4a36a31d7c803806706cc8a17a245e5c)
Diffstat (limited to 'tdecore/tdeapplication.cpp')
-rw-r--r-- | tdecore/tdeapplication.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp index 396aef97a..c13297dc3 100644 --- a/tdecore/tdeapplication.cpp +++ b/tdecore/tdeapplication.cpp @@ -2281,16 +2281,16 @@ void TDEApplication::updateUserTimestamp( unsigned long time ) time = ev.xproperty.time; XDestroyWindow( display, w ); } - if( GET_QT_X_USER_TIME() == 0 - || NET::timestampCompare( time, GET_QT_X_USER_TIME() ) > 0 ) // check time > tqt_x_user_time - SET_QT_X_USER_TIME(time); + if( get_tqt_x_user_time() == 0 + || NET::timestampCompare( time, get_tqt_x_user_time() ) > 0 ) // check time > tqt_x_user_time + set_tqt_x_user_time(time); #endif } unsigned long TDEApplication::userTimestamp() const { #if defined Q_WS_X11 - return GET_QT_X_USER_TIME(); + return get_tqt_x_user_time(); #else return 0; #endif @@ -2300,7 +2300,7 @@ void TDEApplication::updateRemoteUserTimestamp( const TQCString& dcopId, unsigne { #if defined Q_WS_X11 if( time == 0 ) - time = GET_QT_X_USER_TIME(); + time = get_tqt_x_user_time(); DCOPRef( dcopId, "MainApplication-Interface" ).call( "updateUserTimestamp", time ); #endif } |