summaryrefslogtreecommitdiffstats
path: root/kwin/kcmkwin/kwinoptions/main.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 /kwin/kcmkwin/kwinoptions/main.cpp
parent6354e6b3babad3ed0f5e314735bbbc01d1988eb2 (diff)
downloadtdebase-43d99cc2477266cb9072e179137f0e8485370b3d.tar.gz
tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.zip
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'kwin/kcmkwin/kwinoptions/main.cpp')
-rw-r--r--kwin/kcmkwin/kwinoptions/main.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/kwin/kcmkwin/kwinoptions/main.cpp b/kwin/kcmkwin/kwinoptions/main.cpp
index 8c8a283f2..a10269eca 100644
--- a/kwin/kcmkwin/kwinoptions/main.cpp
+++ b/kwin/kcmkwin/kwinoptions/main.cpp
@@ -36,48 +36,48 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kwinfocus(TQWidget *parent, const char *name)
+ KDE_EXPORT KCModule *create_twinfocus(TQWidget *parent, const char *name)
{
- //CT there's need for decision: kwm or kwin?
+ //CT there's need for decision: kwm or twin?
KGlobal::locale()->insertCatalogue("kcmkwm");
- KConfig *c = new KConfig("kwinrc", false, true);
+ KConfig *c = new KConfig("twinrc", false, true);
return new KFocusConfig(true, c, parent, name);
}
- KDE_EXPORT KCModule *create_kwinactions(TQWidget *parent, const char *name)
+ KDE_EXPORT KCModule *create_twinactions(TQWidget *parent, const char *name)
{
- //CT there's need for decision: kwm or kwin?
+ //CT there's need for decision: kwm or twin?
KGlobal::locale()->insertCatalogue("kcmkwm");
return new KActionsOptions( parent, name);
}
- KDE_EXPORT KCModule *create_kwinmoving(TQWidget *parent, const char *name)
+ KDE_EXPORT KCModule *create_twinmoving(TQWidget *parent, const char *name)
{
- //CT there's need for decision: kwm or kwin?
+ //CT there's need for decision: kwm or twin?
KGlobal::locale()->insertCatalogue("kcmkwm");
- KConfig *c = new KConfig("kwinrc", false, true);
+ KConfig *c = new KConfig("twinrc", false, true);
return new KMovingConfig(true, c, parent, name);
}
- KDE_EXPORT KCModule *create_kwinadvanced(TQWidget *parent, const char *name)
+ KDE_EXPORT KCModule *create_twinadvanced(TQWidget *parent, const char *name)
{
- //CT there's need for decision: kwm or kwin?
+ //CT there's need for decision: kwm or twin?
KGlobal::locale()->insertCatalogue("kcmkwm");
- KConfig *c = new KConfig("kwinrc", false, true);
+ KConfig *c = new KConfig("twinrc", false, true);
return new KAdvancedConfig(true, c, parent, name);
}
- KDE_EXPORT KCModule *create_kwintranslucency(TQWidget *parent, const char *name)
+ KDE_EXPORT KCModule *create_twintranslucency(TQWidget *parent, const char *name)
{
- //CT there's need for decision: kwm or kwin?
+ //CT there's need for decision: kwm or twin?
KGlobal::locale()->insertCatalogue("kcmkwm");
- KConfig *c = new KConfig("kwinrc", false, true);
+ KConfig *c = new KConfig("twinrc", false, true);
return new KTranslucencyConfig(true, c, parent, name);
}
- KDE_EXPORT KCModule *create_kwinoptions ( TQWidget *parent, const char* name)
+ KDE_EXPORT KCModule *create_twinoptions ( TQWidget *parent, const char* name)
{
- //CT there's need for decision: kwm or kwin?
+ //CT there's need for decision: kwm or twin?
KGlobal::locale()->insertCatalogue("kcmkwm");
return new KWinOptions( parent, name);
}
@@ -86,7 +86,7 @@ extern "C"
KWinOptions::KWinOptions(TQWidget *parent, const char *name)
: KCModule(parent, name)
{
- mConfig = new KConfig("kwinrc", false, true);
+ mConfig = new KConfig("twinrc", false, true);
TQVBoxLayout *layout = new TQVBoxLayout(this);
tab = new TQTabWidget(this);
@@ -123,7 +123,7 @@ KWinOptions::KWinOptions(TQWidget *parent, const char *name)
connect(mTranslucency, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool)));
KAboutData *about =
- new KAboutData(I18N_NOOP("kcmkwinoptions"), I18N_NOOP("Window Behavior Configuration Module"),
+ new KAboutData(I18N_NOOP("kcmtwinoptions"), I18N_NOOP("Window Behavior Configuration Module"),
0, 0, KAboutData::License_GPL,
I18N_NOOP("(c) 1997 - 2002 KWin and KControl Authors"));
@@ -167,11 +167,11 @@ void KWinOptions::save()
mTranslucency->save();
emit KCModule::changed( false );
- // Send signal to kwin
+ // Send signal to twin
mConfig->sync();
if ( !kapp->dcopClient()->isAttached() )
kapp->dcopClient()->attach();
- kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString(""));
+ kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString(""));
}
@@ -204,7 +204,7 @@ void KWinOptions::moduleChanged(bool state)
KActionsOptions::KActionsOptions(TQWidget *parent, const char *name)
: KCModule(parent, name)
{
- mConfig = new KConfig("kwinrc", false, true);
+ mConfig = new KConfig("twinrc", false, true);
TQVBoxLayout *layout = new TQVBoxLayout(this);
tab = new TQTabWidget(this);
@@ -240,11 +240,11 @@ void KActionsOptions::save()
mWindowActions->save();
emit KCModule::changed( false );
- // Send signal to kwin
+ // Send signal to twin
mConfig->sync();
if ( !kapp->dcopClient()->isAttached() )
kapp->dcopClient()->attach();
- kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString(""));
+ kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString(""));
}