summaryrefslogtreecommitdiffstats
path: root/karm/idletimedetector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:16:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:16:16 -0600
commitc2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6 (patch)
treeb1fe5fed45628a2211f61b95296de96437a049e8 /karm/idletimedetector.cpp
parent17e2ed52dbf8fac39a04331da02b9572e9e2e304 (diff)
downloadtdepim-c2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6.tar.gz
tdepim-c2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'karm/idletimedetector.cpp')
-rw-r--r--karm/idletimedetector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/idletimedetector.cpp b/karm/idletimedetector.cpp
index bd0b253c2..03aba9216 100644
--- a/karm/idletimedetector.cpp
+++ b/karm/idletimedetector.cpp
@@ -16,7 +16,7 @@ IdleTimeDetector::IdleTimeDetector(int maxIdle)
#ifdef HAVE_LIBXSS
kdDebug(5970) << "IdleTimeDetector: LIBXSS detected @ compile time" << endl;
int event_base, error_base;
- if(XScreenSaverQueryExtension(qt_xdisplay(), &event_base, &error_base))
+ if(XScreenSaverQueryExtension(tqt_xdisplay(), &event_base, &error_base))
{
_idleDetectionPossible = true;
}
@@ -45,7 +45,7 @@ void IdleTimeDetector::check()
if (_idleDetectionPossible)
{
_mit_info = XScreenSaverAllocInfo ();
- XScreenSaverQueryInfo(qt_xdisplay(), qt_xrootwin(), _mit_info);
+ XScreenSaverQueryInfo(tqt_xdisplay(), tqt_xrootwin(), _mit_info);
int idleSeconds = (_mit_info->idle/1000);
if (idleSeconds >= _maxIdle)
informOverrun(idleSeconds);