diff options
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 7019968..ef4e8f2 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -123,7 +123,7 @@ void Settings::loadConfig() loadLinkLook(LinkLook::networkLinkLook, "Network Link Look", defaultNetworkLinkLook); loadLinkLook(LinkLook::launcherLook, "Launcher Look", defaultLauncherLook ); - KConfig* config = Global::config(); + TDEConfig* config = Global::config(); config->setGroup("Main window"); // TODO: Split with a "System tray icon" group ! setTreeOnLeft( config->readBoolEntry("treeOnLeft", true) ); setFilterOnTop( config->readBoolEntry("filterOnTop", true) ); @@ -207,7 +207,7 @@ void Settings::saveConfig() saveLinkLook(LinkLook::networkLinkLook, "Network Link Look"); saveLinkLook(LinkLook::launcherLook, "Launcher Look" ); - KConfig* config = Global::config(); + TDEConfig* config = Global::config(); config->setGroup("Main window"); config->writeEntry( "treeOnLeft", treeOnLeft() ); config->writeEntry( "filterOnTop", filterOnTop() ); @@ -272,7 +272,7 @@ void Settings::saveConfig() void Settings::loadLinkLook(LinkLook *look, const TQString &name, const LinkLook &defaultLook) { - KConfig* config = Global::config(); + TDEConfig* config = Global::config(); config->setGroup(name); TQString underliningStrings[] = { "Always", "Never", "OnMouseHover", "OnMouseOutside" }; @@ -304,7 +304,7 @@ void Settings::loadLinkLook(LinkLook *look, const TQString &name, const LinkLook void Settings::saveLinkLook(LinkLook *look, const TQString &name) { - KConfig* config = Global::config(); + TDEConfig* config = Global::config(); config->setGroup(name); TQString underliningStrings[] = { "Always", "Never", "OnMouseHover", "OnMouseOutside" }; @@ -355,7 +355,7 @@ void Settings::setAutoBullet(bool yes) /** GeneralPage */ GeneralPage::GeneralPage(TQWidget * parent, const char * name) - : KCModule(parent, name) + : TDECModule(parent, name) { TQVBoxLayout *layout = new TQVBoxLayout(this, /*margin=*/0, KDialogBase::spacingHint()); TQHBoxLayout *hLay; @@ -500,7 +500,7 @@ void GeneralPage::defaults() /** BasketsPage */ BasketsPage::BasketsPage(TQWidget * parent, const char * name) - : KCModule(parent, name) + : TDECModule(parent, name) { TQVBoxLayout *layout = new TQVBoxLayout(this, /*margin=*/0, KDialogBase::spacingHint()); TQHBoxLayout *hLay; @@ -680,7 +680,7 @@ void BasketsPage::defaults() /** class NewNotesPage: */ NewNotesPage::NewNotesPage(TQWidget * parent, const char * name) - : KCModule(parent, name) + : TDECModule(parent, name) { TQVBoxLayout *layout = new TQVBoxLayout(this, /*margin=*/0, KDialogBase::spacingHint()); TQHBoxLayout *hLay; @@ -788,7 +788,7 @@ void NewNotesPage::visualize() /** class NotesAppearancePage: */ NotesAppearancePage::NotesAppearancePage(TQWidget * parent, const char * name) - : KCModule(parent, name) + : TDECModule(parent, name) { TQVBoxLayout *layout = new TQVBoxLayout(this, /*margin=*/0, KDialogBase::spacingHint()); TQTabWidget *tabs = new TQTabWidget(this); @@ -835,7 +835,7 @@ void NotesAppearancePage::defaults() /** class ApplicationsPage: */ ApplicationsPage::ApplicationsPage(TQWidget * parent, const char * name) - : KCModule(parent, name) + : TDECModule(parent, name) { /* Applications page */ TQVBoxLayout *layout = new TQVBoxLayout(this, /*margin=*/0, KDialogBase::spacingHint()); |