diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:13:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:13:02 -0600 |
commit | 8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 (patch) | |
tree | bf71d4bfa94d0561e80456400ae5fe2bb501fbd8 /kdesktop/lockeng.cc | |
parent | e8a1cdc01d38125bea12d5494db977ae6429919a (diff) | |
download | tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.tar.gz tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'kdesktop/lockeng.cc')
-rw-r--r-- | kdesktop/lockeng.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdesktop/lockeng.cc b/kdesktop/lockeng.cc index 79d27dbcb..3abfd495d 100644 --- a/kdesktop/lockeng.cc +++ b/kdesktop/lockeng.cc @@ -62,7 +62,7 @@ SaverEngine::SaverEngine() sigaction(SIGUSR1, &act, 0L); // Save X screensaver parameters - XGetScreenSaver(qt_xdisplay(), &mXTimeout, &mXInterval, + XGetScreenSaver(tqt_xdisplay(), &mXTimeout, &mXInterval, &mXBlanking, &mXExposures); mState = Waiting; @@ -108,7 +108,7 @@ SaverEngine::~SaverEngine() delete mXAutoLock; // Restore X screensaver parameters - XSetScreenSaver(qt_xdisplay(), mXTimeout, mXInterval, mXBlanking, + XSetScreenSaver(tqt_xdisplay(), mXTimeout, mXInterval, mXBlanking, mXExposures); } @@ -208,7 +208,7 @@ bool SaverEngine::enable( bool e ) //mXAutoLock->changeCornerLockStatus( mLockCornerTopLeft, mLockCornerTopRight, mLockCornerBottomLeft, mLockCornerBottomRight); // We'll handle blanking - XSetScreenSaver(qt_xdisplay(), mTimeout + 10, mXInterval, PreferBlanking, mXExposures); + XSetScreenSaver(tqt_xdisplay(), mTimeout + 10, mXInterval, PreferBlanking, mXExposures); kdDebug() << "XSetScreenSaver " << mTimeout + 10 << endl; mXAutoLock->start(); @@ -223,8 +223,8 @@ bool SaverEngine::enable( bool e ) mXAutoLock = 0; } - XForceScreenSaver(qt_xdisplay(), ScreenSaverReset ); - XSetScreenSaver(qt_xdisplay(), 0, mXInterval, PreferBlanking, DontAllowExposures); + XForceScreenSaver(tqt_xdisplay(), ScreenSaverReset ); + XSetScreenSaver(tqt_xdisplay(), 0, mXInterval, PreferBlanking, DontAllowExposures); kdDebug(1204) << "Saver Engine disabled" << endl; } @@ -355,7 +355,7 @@ bool SaverEngine::startLockProcess( LockType lock_type ) } mLockProcess.kill(SIGTTOU); // Start lock - XSetScreenSaver(qt_xdisplay(), 0, mXInterval, PreferBlanking, mXExposures); + XSetScreenSaver(tqt_xdisplay(), 0, mXInterval, PreferBlanking, mXExposures); mState = Preparing; if (mXAutoLock) @@ -388,8 +388,8 @@ void SaverEngine::stopLockProcess() { mXAutoLock->start(); } - XForceScreenSaver(qt_xdisplay(), ScreenSaverReset ); - XSetScreenSaver(qt_xdisplay(), mTimeout + 10, mXInterval, PreferBlanking, mXExposures); + XForceScreenSaver(tqt_xdisplay(), ScreenSaverReset ); + XSetScreenSaver(tqt_xdisplay(), mTimeout + 10, mXInterval, PreferBlanking, mXExposures); } processLockTransactions(); mState = Waiting; @@ -457,8 +457,8 @@ void SaverEngine::lockProcessWaiting() { mXAutoLock->start(); } - XForceScreenSaver(qt_xdisplay(), ScreenSaverReset ); - XSetScreenSaver(qt_xdisplay(), mTimeout + 10, mXInterval, PreferBlanking, mXExposures); + XForceScreenSaver(tqt_xdisplay(), ScreenSaverReset ); + XSetScreenSaver(tqt_xdisplay(), mTimeout + 10, mXInterval, PreferBlanking, mXExposures); } processLockTransactions(); mState = Waiting; @@ -471,8 +471,8 @@ void SaverEngine::lockProcessWaiting() void SaverEngine::idleTimeout() { // disable X screensaver - XForceScreenSaver(qt_xdisplay(), ScreenSaverReset ); - XSetScreenSaver(qt_xdisplay(), 0, mXInterval, PreferBlanking, DontAllowExposures); + XForceScreenSaver(tqt_xdisplay(), ScreenSaverReset ); + XSetScreenSaver(tqt_xdisplay(), 0, mXInterval, PreferBlanking, DontAllowExposures); mSAKProcess->kill(SIGTERM); startLockProcess( DefaultLock ); } |