summaryrefslogtreecommitdiffstats
path: root/kcontrol/konq/desktop.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:26:07 -0600
commit43d99cc2477266cb9072e179137f0e8485370b3d (patch)
tree0d4d47e5497a1a1465edf8263f57b72725577239 /kcontrol/konq/desktop.cpp
parent6354e6b3babad3ed0f5e314735bbbc01d1988eb2 (diff)
downloadtdebase-43d99cc2477266cb9072e179137f0e8485370b3d.tar.gz
tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.zip
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'kcontrol/konq/desktop.cpp')
-rw-r--r--kcontrol/konq/desktop.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/konq/desktop.cpp b/kcontrol/konq/desktop.cpp
index e7d333537..cf884c0be 100644
--- a/kcontrol/konq/desktop.cpp
+++ b/kcontrol/konq/desktop.cpp
@@ -141,30 +141,30 @@ void KDesktopConfig::load( bool useDefaults )
else
groupname.sprintf("Desktops-screen-%d", konq_screen_number);
- KConfig * kwinconfig = new KConfig("kwinrc");
+ KConfig * twinconfig = new KConfig("twinrc");
- kwinconfig->setReadDefaults( useDefaults );
+ twinconfig->setReadDefaults( useDefaults );
- kwinconfig->setGroup("Desktops");
+ twinconfig->setGroup("Desktops");
for(int i = 1; i <= maxDesktops; i++)
{
TQString key_name(TQString("Name_") + TQString::number(i));
TQString name = TQString::fromUtf8(info.desktopName(i));
if (name.isEmpty()) // Get name from configuration if none is set in the WM.
{
- name = kwinconfig->readEntry(key_name, i18n("Desktop %1").arg(i));
+ name = twinconfig->readEntry(key_name, i18n("Desktop %1").arg(i));
}
_nameInput[i-1]->setText(name);
// Is this entry immutable or not in the range of configured desktops?
- _labelImmutable[i - 1] = kwinconfig->entryIsImmutable(key_name);
+ _labelImmutable[i - 1] = twinconfig->entryIsImmutable(key_name);
_nameInput[i-1]->setEnabled(i <= n && !_labelImmutable[i - 1]);
}
- _numInput->setEnabled(!kwinconfig->entryIsImmutable("Number"));
+ _numInput->setEnabled(!twinconfig->entryIsImmutable("Number"));
- delete kwinconfig;
- kwinconfig = 0;
+ delete twinconfig;
+ twinconfig = 0;
TQString configfile;
if (konq_screen_number == 0)