diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-02 02:14:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-02 02:14:46 -0600 |
commit | 90a4df90811f0f978ae768939d8567f737e4c553 (patch) | |
tree | 057a536138b44495fc3aa26050c159fc6d3ef2ae /libkscreensaver | |
parent | 4fb897b216c41c13f128c71bcc66f60e2dc601c4 (diff) | |
download | tdelibs-90a4df90811f0f978ae768939d8567f737e4c553.tar.gz tdelibs-90a4df90811f0f978ae768939d8567f737e4c553.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'libkscreensaver')
-rw-r--r-- | libkscreensaver/kscreensaver.cpp | 4 | ||||
-rw-r--r-- | libkscreensaver/main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libkscreensaver/kscreensaver.cpp b/libkscreensaver/kscreensaver.cpp index 92aa8f931..2b45c9a0f 100644 --- a/libkscreensaver/kscreensaver.cpp +++ b/libkscreensaver/kscreensaver.cpp @@ -55,7 +55,7 @@ KScreenSaver::KScreenSaver( WId id ) : TQWidget() if ( id ) { #ifdef Q_WS_X11 //FIXME - XGetGeometry(qt_xdisplay(), (Drawable)id, &root, &ai, &ai, + XGetGeometry(tqt_xdisplay(), (Drawable)id, &root, &ai, &ai, &w, &h, &au, &au); #endif @@ -79,7 +79,7 @@ void KScreenSaver::embed( TQWidget *w ) { KApplication::sendPostedEvents(); #ifdef Q_WS_X11 //FIXME - XReparentWindow(qt_xdisplay(), w->winId(), winId(), 0, 0); + XReparentWindow(tqt_xdisplay(), w->winId(), winId(), 0, 0); #endif w->setGeometry( 0, 0, width(), height() ); KApplication::sendPostedEvents(); diff --git a/libkscreensaver/main.cpp b/libkscreensaver/main.cpp index e80dd6bff..0ff7c0a1b 100644 --- a/libkscreensaver/main.cpp +++ b/libkscreensaver/main.cpp @@ -127,7 +127,7 @@ KDE_EXPORT int main(int argc, char *argv[]) #ifdef Q_WS_X11 //FIXME if (args->isSet("root")) { - saveWin = RootWindow(qt_xdisplay(), qt_xscreen()); + saveWin = RootWindow(tqt_xdisplay(), tqt_xscreen()); } #endif |