summaryrefslogtreecommitdiffstats
path: root/twin/workspace.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /twin/workspace.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'twin/workspace.cpp')
-rw-r--r--twin/workspace.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/twin/workspace.cpp b/twin/workspace.cpp
index 85491fe76..4778caaa3 100644
--- a/twin/workspace.cpp
+++ b/twin/workspace.cpp
@@ -388,7 +388,7 @@ void Workspace::init()
initial_desktop = client_info.currentDesktop();
else
{
- KConfigGroupSaver saver( kapp->sessionConfig(), "Session" );
+ TDEConfigGroupSaver saver( kapp->sessionConfig(), "Session" );
initial_desktop = kapp->sessionConfig()->readNumEntry( "desktop", 1 );
}
if( !setCurrentDesktop( initial_desktop ))
@@ -1146,13 +1146,13 @@ void Workspace::slotReconfigure()
void Workspace::loadDesktopSettings()
{
- KConfig* c = TDEGlobal::config();
+ TDEConfig* c = TDEGlobal::config();
TQCString groupname;
if (screen_number == 0)
groupname = "Desktops";
else
groupname.sprintf("Desktops-screen-%d", screen_number);
- KConfigGroupSaver saver(c,groupname);
+ TDEConfigGroupSaver saver(c,groupname);
int n = c->readNumEntry("Number", 4);
number_of_desktops = n;
@@ -1175,13 +1175,13 @@ void Workspace::loadDesktopSettings()
void Workspace::saveDesktopSettings()
{
- KConfig* c = TDEGlobal::config();
+ TDEConfig* c = TDEGlobal::config();
TQCString groupname;
if (screen_number == 0)
groupname = "Desktops";
else
groupname.sprintf("Desktops-screen-%d", screen_number);
- KConfigGroupSaver saver(c,groupname);
+ TDEConfigGroupSaver saver(c,groupname);
c->writeEntry("Number", number_of_desktops );
for(int i = 1; i <= number_of_desktops; i++)
@@ -2765,7 +2765,7 @@ void Workspace::helperDialog( const TQString& message, const Client* c )
proc << "kdialog" << args;
if( !type.isEmpty())
{
- KConfig cfg( "twin_dialogsrc" );
+ TDEConfig cfg( "twin_dialogsrc" );
cfg.setGroup( "Notification Messages" ); // this depends on KMessageBox
if( !cfg.readBoolEntry( type, true )) // has don't show again checked
return; // save launching kdialog