diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /twin/kcmtwin/twinoptions | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'twin/kcmtwin/twinoptions')
-rw-r--r-- | twin/kcmtwin/twinoptions/main.cpp | 14 | ||||
-rw-r--r-- | twin/kcmtwin/twinoptions/main.h | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/twin/kcmtwin/twinoptions/main.cpp b/twin/kcmtwin/twinoptions/main.cpp index aac2436d1..5e79c6365 100644 --- a/twin/kcmtwin/twinoptions/main.cpp +++ b/twin/kcmtwin/twinoptions/main.cpp @@ -48,7 +48,7 @@ extern "C" { //CT there's need for decision: kwm or twin? TDEGlobal::locale()->insertCatalogue("kcmkwm"); - return new KActionsOptions( parent, name); + return new TDEActionsOptions( parent, name); } KDE_EXPORT TDECModule *create_twinmoving(TQWidget *parent, const char *name) @@ -201,7 +201,7 @@ void KWinOptions::moduleChanged(bool state) } -KActionsOptions::KActionsOptions(TQWidget *parent, const char *name) +TDEActionsOptions::TDEActionsOptions(TQWidget *parent, const char *name) : TDECModule(parent, name) { mConfig = new TDEConfig("twinrc", false, true); @@ -221,12 +221,12 @@ KActionsOptions::KActionsOptions(TQWidget *parent, const char *name) connect(mWindowActions, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool))); } -KActionsOptions::~KActionsOptions() +TDEActionsOptions::~TDEActionsOptions() { delete mConfig; } -void KActionsOptions::load() +void TDEActionsOptions::load() { mTitleBarActions->load(); mWindowActions->load(); @@ -234,7 +234,7 @@ void KActionsOptions::load() } -void KActionsOptions::save() +void TDEActionsOptions::save() { mTitleBarActions->save(); mWindowActions->save(); @@ -248,13 +248,13 @@ void KActionsOptions::save() } -void KActionsOptions::defaults() +void TDEActionsOptions::defaults() { mTitleBarActions->defaults(); mWindowActions->defaults(); } -void KActionsOptions::moduleChanged(bool state) +void TDEActionsOptions::moduleChanged(bool state) { emit TDECModule::changed(state); } diff --git a/twin/kcmtwin/twinoptions/main.h b/twin/kcmtwin/twinoptions/main.h index c1146fa92..cb80f7e8d 100644 --- a/twin/kcmtwin/twinoptions/main.h +++ b/twin/kcmtwin/twinoptions/main.h @@ -69,14 +69,14 @@ private: TDEConfig *mConfig; }; -class KActionsOptions : public TDECModule +class TDEActionsOptions : public TDECModule { Q_OBJECT public: - KActionsOptions(TQWidget *parent, const char *name); - virtual ~KActionsOptions(); + TDEActionsOptions(TQWidget *parent, const char *name); + virtual ~TDEActionsOptions(); void load(); void save(); |