diff options
author | Michele Calgaro <[email protected]> | 2023-11-23 10:54:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-23 10:54:32 +0900 |
commit | 73dba53e4a36a31d7c803806706cc8a17a245e5c (patch) | |
tree | 699ac927ebddcdf6ab2aa6a8c19e06127b9d7e8b /tdecore/tdeapplication.cpp | |
parent | 80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee (diff) | |
download | tdelibs-73dba53e4a36a31d7c803806706cc8a17a245e5c.tar.gz tdelibs-73dba53e4a36a31d7c803806706cc8a17a245e5c.zip |
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <[email protected]>
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 } |