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 --- kcontrol/konq/desktop.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kcontrol/konq/desktop.cpp') diff --git a/kcontrol/konq/desktop.cpp b/kcontrol/konq/desktop.cpp index cf884c0be..4be13ef3f 100644 --- a/kcontrol/konq/desktop.cpp +++ b/kcontrol/konq/desktop.cpp @@ -128,12 +128,12 @@ void KDesktopConfig::load() void KDesktopConfig::load( bool useDefaults ) { // get number of desktops - NETRootInfo info( qt_xdisplay(), NET::NumberOfDesktops | NET::DesktopNames ); + NETRootInfo info( tqt_xdisplay(), NET::NumberOfDesktops | NET::DesktopNames ); int n = info.numberOfDesktops(); int konq_screen_number = 0; - if (qt_xdisplay()) - konq_screen_number = DefaultScreen(qt_xdisplay()); + if (tqt_xdisplay()) + konq_screen_number = DefaultScreen(tqt_xdisplay()); TQCString groupname; if (konq_screen_number == 0) @@ -193,7 +193,7 @@ void KDesktopConfig::load( bool useDefaults ) void KDesktopConfig::save() { - NETRootInfo info( qt_xdisplay(), NET::NumberOfDesktops | NET::DesktopNames ); + NETRootInfo info( tqt_xdisplay(), NET::NumberOfDesktops | NET::DesktopNames ); // set desktop names for(int i = 1; i <= maxDesktops; i++) { @@ -204,11 +204,11 @@ void KDesktopConfig::save() info.setNumberOfDesktops(_numInput->value()); info.activate(); - XSync(qt_xdisplay(), FALSE); + XSync(tqt_xdisplay(), FALSE); int konq_screen_number = 0; - if (qt_xdisplay()) - konq_screen_number = DefaultScreen(qt_xdisplay()); + if (tqt_xdisplay()) + konq_screen_number = DefaultScreen(tqt_xdisplay()); TQCString appname; if (konq_screen_number == 0) -- cgit v1.2.1