diff options
Diffstat (limited to 'twin4/twin4/twin4.cpp')
-rw-r--r-- | twin4/twin4/twin4.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin4/twin4/twin4.cpp b/twin4/twin4/twin4.cpp index 31e2c87e..b21847a2 100644 --- a/twin4/twin4/twin4.cpp +++ b/twin4/twin4/twin4.cpp @@ -288,7 +288,7 @@ void Kwin4App::changeAction(const char *action, bool enable){ /** * Store the current game */ -void Kwin4App::saveProperties(KConfig *cfg) +void Kwin4App::saveProperties(TDEConfig *cfg) { TQString tempfile = kapp->tempSaveName(TQDir::currentDirPath()+"twin4"); cfg->writePathEntry("filename", tempfile ); @@ -298,7 +298,7 @@ void Kwin4App::saveProperties(KConfig *cfg) /** * Load game back */ -void Kwin4App::readProperties(KConfig* cfg) +void Kwin4App::readProperties(TDEConfig* cfg) { TQString filename = cfg->readPathEntry("filename"); if(!filename.isEmpty()) @@ -613,10 +613,10 @@ void Kwin4App::slotDebugKGame() * Show Configure dialog. */ void Kwin4App::showSettings(){ - if(KConfigDialog::showDialog("settings")) + if(TDEConfigDialog::showDialog("settings")) return; - KConfigDialog *dialog = new KConfigDialog(this, "settings", Prefs::self(), KDialogBase::Swallow); + TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Prefs::self(), KDialogBase::Swallow); Settings *general = new Settings(0, "General"); dialog->addPage(general, i18n("General"), "package_settings"); connect(dialog, TQT_SIGNAL(settingsChanged()), doc, TQT_SLOT(loadSettings())); |