diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:28:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:28:24 -0600 |
commit | 20de04ce44f63fb911103d7870d39d2782d14cda (patch) | |
tree | bddd13cef2fae98892caf538dc64b5357732c517 /konq-plugins/kuick/kcmkuick/kcmkuick.cpp | |
parent | 4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff) | |
download | tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konq-plugins/kuick/kcmkuick/kcmkuick.cpp')
-rw-r--r-- | konq-plugins/kuick/kcmkuick/kcmkuick.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp index d8015ce..a2894f9 100644 --- a/konq-plugins/kuick/kcmkuick/kcmkuick.cpp +++ b/konq-plugins/kuick/kcmkuick/kcmkuick.cpp @@ -34,7 +34,7 @@ typedef KGenericFactory<KCMKuick, TQWidget> KuickFactory; K_EXPORT_COMPONENT_FACTORY ( kcm_kuick, KuickFactory( "kcmkuick" ) ) KCMKuick::KCMKuick(TQWidget *parent, const char *name, const TQStringList &) -:KCModule(parent, name) +:TDECModule(parent, name) { TDEAboutData *ab=new TDEAboutData( "kcmkuick", I18N_NOOP("KCM Kuick"), "0.2",I18N_NOOP("KControl module for Kuick's configuration"), TDEAboutData::License_GPL, @@ -66,14 +66,14 @@ void KCMKuick::slotShowToggled() void KCMKuick::load() { - KConfig config( "konquerorrc"); + TDEConfig config( "konquerorrc"); config.setGroup("kuick-copy"); dialog->m_sbCopy->setValue(config.readNumEntry("ShowRecent",5) ); config.setGroup("kuick-move" ); dialog->m_sbMove->setValue(config.readNumEntry("ShowRecent",5) ); - KConfig cfg("kuick_plugin.desktop", true, false, "services"); + TDEConfig cfg("kuick_plugin.desktop", true, false, "services"); cfg.setDesktopGroup(); bool hidden=cfg.readBoolEntry("Hidden", false); dialog->m_chkShow->setChecked(!hidden); @@ -97,7 +97,7 @@ void KCMKuick::configChanged() void KCMKuick::save() { - KConfig config("konquerorrc" ); + TDEConfig config("konquerorrc" ); config.setGroup("kuick-copy"); config.writeEntry("ShowRecent", dialog->m_sbCopy->value() ); @@ -112,7 +112,7 @@ void KCMKuick::save() TQFile::remove(servicespath+"/kuick_plugin.desktop"); } else { - KConfig cfg("kuick_plugin.desktop", false, false, "services"); + TDEConfig cfg("kuick_plugin.desktop", false, false, "services"); cfg.setDesktopGroup(); cfg.writeEntry("Hidden", true); } @@ -122,14 +122,14 @@ void KCMKuick::save() } void KCMKuick::slotClearCopyCache( ) { - KConfig config("konquerorrc"); + TDEConfig config("konquerorrc"); config.setGroup("kuick-copy" ); config.writePathEntry("Paths", TQStringList() ); config.sync(); //is it necessary ? } void KCMKuick::slotClearMoveCache() { - KConfig config("konquerorrc"); + TDEConfig config("konquerorrc"); config.setGroup("kuick-move" ); config.writePathEntry("Paths", TQStringList() ); config.sync(); //is it necessary ? |