From 8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:13:02 -0600 Subject: Rename additional global functions and variables for tqt3 --- krootbacking/krootbacking.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'krootbacking') diff --git a/krootbacking/krootbacking.cpp b/krootbacking/krootbacking.cpp index 22c7bfc72..3d5872fb3 100644 --- a/krootbacking/krootbacking.cpp +++ b/krootbacking/krootbacking.cpp @@ -87,7 +87,7 @@ KRootBacking::~KRootBacking() int KRootBacking::currentDesktop() const { #ifdef Q_WS_X11 - NETRootInfo rinfo( qt_xdisplay(), NET::CurrentDesktop ); + NETRootInfo rinfo( tqt_xdisplay(), NET::CurrentDesktop ); rinfo.activate(); return rinfo.currentDesktop(); #endif @@ -180,7 +180,7 @@ bool KRootBacking::isAvailable() const TQString KRootBacking::pixmapName(int desk) { TQString pattern = TQString("DESKTOP%1"); #ifdef Q_WS_X11 - int screen_number = DefaultScreen(qt_xdisplay()); + int screen_number = DefaultScreen(tqt_xdisplay()); if (screen_number) { pattern = TQString("SCREEN%1-DESKTOP").arg(screen_number) + "%1"; } @@ -201,7 +201,7 @@ void KRootBacking::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 ); -- cgit v1.2.3