summaryrefslogtreecommitdiffstats
path: root/kcontrol/konq/desktop.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:13:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:13:02 -0600
commit8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 (patch)
treebf71d4bfa94d0561e80456400ae5fe2bb501fbd8 /kcontrol/konq/desktop.cpp
parente8a1cdc01d38125bea12d5494db977ae6429919a (diff)
downloadtdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.tar.gz
tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'kcontrol/konq/desktop.cpp')
-rw-r--r--kcontrol/konq/desktop.cpp14
1 files changed, 7 insertions, 7 deletions
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)