diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:27:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:27:08 -0600 |
commit | 773793eead2fea173ec9202ee938020592e86a02 (patch) | |
tree | 2df8f77f488c1e7de1c16eb6d50d33337bc6bea5 /src/tdesvn.cpp | |
parent | f4899658cbe0d29487071c8340b66c80cc2a3010 (diff) | |
download | tdesvn-773793eead2fea173ec9202ee938020592e86a02.tar.gz tdesvn-773793eead2fea173ec9202ee938020592e86a02.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/tdesvn.cpp')
-rw-r--r-- | src/tdesvn.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tdesvn.cpp b/src/tdesvn.cpp index 565684e..543755b 100644 --- a/src/tdesvn.cpp +++ b/src/tdesvn.cpp @@ -212,7 +212,7 @@ void tdesvn::load(const KURL& url,bool addRescent) } } if (rac) { - rac->saveEntries(KGlobal::config(),"recent_files"); + rac->saveEntries(TDEGlobal::config(),"recent_files"); } } } @@ -230,7 +230,7 @@ void tdesvn::setupActions() if (rac) { rac->setMaxItems(8); - rac->loadEntries(KGlobal::config(),"recent_files"); + rac->loadEntries(TDEGlobal::config(),"recent_files"); rac->setText(i18n("Recent opened URLs")); } @@ -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(KGlobal::config(),"startup"); + KConfigGroup cs(TDEGlobal::config(),"startup"); toggletemp->setChecked(cs.readBoolEntry("load_last_on_start",false)); connect(toggletemp,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotLoadLast(bool))); } @@ -361,12 +361,12 @@ void tdesvn::optionsConfigureToolbars() { #if defined(TDE_MAKE_VERSION) # if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0) - saveMainWindowSettings(KGlobal::config(), autoSaveGroup()); + saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); # else - saveMainWindowSettings(KGlobal::config() ); + saveMainWindowSettings(TDEGlobal::config() ); # endif #else - saveMainWindowSettings(KGlobal::config() ); + saveMainWindowSettings(TDEGlobal::config() ); #endif // use the standard toolbar editor @@ -384,7 +384,7 @@ void tdesvn::applyNewToolbarConfig() { #if defined(TDE_MAKE_VERSION) # if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0) - applyMainWindowSettings(KGlobal::config(), autoSaveGroup()); + applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); # else applyMainWindowSettings(tdesvnPart::config()); # endif @@ -411,7 +411,7 @@ void tdesvn::optionsConfigureKeys() bool tdesvn::queryExit() { if (m_part) { - KConfigGroup cs(KGlobal::config(),"startup"); + KConfigGroup 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(KGlobal::config(),"startup"); + KConfigGroup 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(KGlobal::config(),"startup"); + KConfigGroup cs(TDEGlobal::config(),"startup"); cs.writeEntry("load_last_on_start",how); } |