diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:59 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:59 -0600 |
commit | 2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch) | |
tree | ea24a96bad3bb7356ec1a2dca2a1338692d79745 /kspaceduel | |
parent | d6f3812c8d969a673b420beca2482804177704fb (diff) | |
download | tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kspaceduel')
-rw-r--r-- | kspaceduel/dialogs.cpp | 2 | ||||
-rw-r--r-- | kspaceduel/dialogs.h | 2 | ||||
-rw-r--r-- | kspaceduel/mainview.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kspaceduel/dialogs.cpp b/kspaceduel/dialogs.cpp index f7570ef9..636ac21e 100644 --- a/kspaceduel/dialogs.cpp +++ b/kspaceduel/dialogs.cpp @@ -389,7 +389,7 @@ void ConfigSetup::sliderChanged(int val) } SettingsDialog::SettingsDialog(SConfig *customConfig, TQWidget *parent, const char *name) - : KConfigDialog( parent, name, Options::self()) + : TDEConfigDialog( parent, name, Options::self()) { General *general = new General(); addPage(general, i18n("General"), "package_settings", i18n("General Settings")); diff --git a/kspaceduel/dialogs.h b/kspaceduel/dialogs.h index 33c77cb2..c772857e 100644 --- a/kspaceduel/dialogs.h +++ b/kspaceduel/dialogs.h @@ -77,7 +77,7 @@ private: int selectedConfig; }; -class SettingsDialog : public KConfigDialog +class SettingsDialog : public TDEConfigDialog { Q_OBJECT diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp index fcb0cf40..2486882d 100644 --- a/kspaceduel/mainview.cpp +++ b/kspaceduel/mainview.cpp @@ -110,7 +110,7 @@ void MyMainView::setActionCollection(KActionCollection *a) void MyMainView::readConfig() { - KConfig *cfg = kapp->config(); + TDEConfig *cfg = kapp->config(); int i; cfg->setGroup("Game"); @@ -185,7 +185,7 @@ void MyMainView::readConfig() void MyMainView::writeConfig() { - KConfig *cfg; + TDEConfig *cfg; cfg=TDEApplication::kApplication()->config(); cfg->setGroup("Game"); @@ -986,7 +986,7 @@ void MyMainView::gameSetup() if(!waitForStart) pause(); - if (KConfigDialog::showDialog("settings")) + if (TDEConfigDialog::showDialog("settings")) return; SettingsDialog *settings=new SettingsDialog(&customConfig,this,"settings"); |