diff options
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 ? |