diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:06:15 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:06:15 -0600 |
commit | 5b49d2a601f5ff9ac229348329bbbc64136312db (patch) | |
tree | 099a57e727f52e0a3725849e387aff63ead81296 /src/inactivity.cpp | |
parent | 9e53dcb890bcfadd41493598ba94badd893a1f58 (diff) | |
download | tdepowersave-5b49d2a601f5ff9ac229348329bbbc64136312db.tar.gz tdepowersave-5b49d2a601f5ff9ac229348329bbbc64136312db.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'src/inactivity.cpp')
-rw-r--r-- | src/inactivity.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inactivity.cpp b/src/inactivity.cpp index 8dde0b7..3a215af 100644 --- a/src/inactivity.cpp +++ b/src/inactivity.cpp @@ -51,7 +51,7 @@ inactivity::inactivity() { blacklisted_running = false; int dummy = 0; - has_XSC_Extension = XScreenSaverQueryExtension( qt_xdisplay(), &dummy, &dummy ); + has_XSC_Extension = XScreenSaverQueryExtension( tqt_xdisplay(), &dummy, &dummy ); checkInactivity = new TQTimer( this ); connect( checkInactivity, TQT_SIGNAL(timeout()), this, TQT_SLOT(check())); @@ -196,7 +196,7 @@ unsigned long inactivity::getXInactivity(){ if(has_XSC_Extension) { static XScreenSaverInfo* mitInfo = 0; if (!mitInfo) mitInfo = XScreenSaverAllocInfo (); - XScreenSaverQueryInfo (qt_xdisplay(), DefaultRootWindow (qt_xdisplay()), mitInfo); + XScreenSaverQueryInfo (tqt_xdisplay(), DefaultRootWindow (tqt_xdisplay()), mitInfo); kdDebugFuncOut(trace); return workaroundCreepyXServer(mitInfo->idle); } @@ -231,7 +231,7 @@ unsigned long inactivity::workaroundCreepyXServer( unsigned long _idleTime ){ CARD16 state; BOOL onoff; - Display *dpy = qt_xdisplay(); + Display *dpy = tqt_xdisplay(); kdDebug() << "Current idleTime: " << _idleTime << endl; |