diff options
Diffstat (limited to 'src/tdesvn.cpp')
-rw-r--r-- | src/tdesvn.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tdesvn.cpp b/src/tdesvn.cpp index 543755b..0b2a6cd 100644 --- a/src/tdesvn.cpp +++ b/src/tdesvn.cpp @@ -243,7 +243,7 @@ void tdesvn::setupActions() toggletemp = new KToggleAction(i18n("Load last opened URL on start"),KShortcut(), actionCollection(),"toggle_load_last_url"); toggletemp->setToolTip(i18n("Reload last opened url if no one is given on commandline")); - KConfigGroup cs(TDEGlobal::config(),"startup"); + TDEConfigGroup cs(TDEGlobal::config(),"startup"); toggletemp->setChecked(cs.readBoolEntry("load_last_on_start",false)); connect(toggletemp,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotLoadLast(bool))); } @@ -268,7 +268,7 @@ void tdesvn::fileClose() } } -void tdesvn::saveProperties(KConfig *config) +void tdesvn::saveProperties(TDEConfig *config) { // the 'config' object points to the session managed // config file. anything you write here will be available @@ -283,7 +283,7 @@ void tdesvn::saveProperties(KConfig *config) } } -void tdesvn::readProperties(KConfig *config) +void tdesvn::readProperties(TDEConfig *config) { // the 'config' object points to the session managed // config file. this function is automatically called whenever @@ -411,7 +411,7 @@ void tdesvn::optionsConfigureKeys() bool tdesvn::queryExit() { if (m_part) { - KConfigGroup cs(TDEGlobal::config(),"startup"); + TDEConfigGroup cs(TDEGlobal::config(),"startup"); #if KDE_IS_VERSION(3,1,3) cs.writePathEntry("lastURL", m_part->url().prettyURL()); #else @@ -427,7 +427,7 @@ bool tdesvn::queryExit() */ void tdesvn::checkReload() { - KConfigGroup cs(TDEGlobal::config(),"startup"); + TDEConfigGroup cs(TDEGlobal::config(),"startup"); if (!cs.readBoolEntry("load_last_on_start",false)) return; @@ -443,7 +443,7 @@ void tdesvn::checkReload() */ void tdesvn::slotLoadLast(bool how) { - KConfigGroup cs(TDEGlobal::config(),"startup"); + TDEConfigGroup cs(TDEGlobal::config(),"startup"); cs.writeEntry("load_last_on_start",how); } |