diff options
Diffstat (limited to 'client/myrootpixmap.cc')
-rw-r--r-- | client/myrootpixmap.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/myrootpixmap.cc b/client/myrootpixmap.cc index d986076..b06fec1 100644 --- a/client/myrootpixmap.cc +++ b/client/myrootpixmap.cc @@ -71,7 +71,7 @@ KMyRootPixmap::~KMyRootPixmap() int KMyRootPixmap::currentDesktop() const { - NETRootInfo rinfo( qt_xdisplay(), NET::CurrentDesktop ); + NETRootInfo rinfo( tqt_xdisplay(), NET::CurrentDesktop ); rinfo.activate(); return rinfo.currentDesktop(); } @@ -125,7 +125,7 @@ bool KMyRootPixmap::isAvailable() TQString KMyRootPixmap::pixmapName(int desk) { TQString pattern = TQString("DESKTOP%1"); - int screen_number = DefaultScreen(qt_xdisplay()); + int screen_number = DefaultScreen(tqt_xdisplay()); if (screen_number) { pattern = TQString("SCREEN%1-DESKTOP").arg(screen_number) + "%1"; } @@ -144,7 +144,7 @@ void KMyRootPixmap::enableExports() args << 1; TQCString appname( "kdesktop" ); - int screen_number = DefaultScreen(qt_xdisplay()); + int screen_number = DefaultScreen(tqt_xdisplay()); if ( screen_number ) appname.sprintf("kdesktop-screen-%d", screen_number ); |