From 01c60a267846a8712bca34218ecf7da57566c049 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:26:45 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kpersonalizer/kospage.cpp | 2 +- kpersonalizer/kstylepage.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kpersonalizer') diff --git a/kpersonalizer/kospage.cpp b/kpersonalizer/kospage.cpp index bc514d9c8..6b7590bd3 100644 --- a/kpersonalizer/kospage.cpp +++ b/kpersonalizer/kospage.cpp @@ -105,7 +105,7 @@ void KOSPage::save(bool currSettings){ void KOSPage::saveCheckState(bool currSettings){ if(currSettings){ // Set the path for the keysscheme resource files - TDEGlobal::dirs()->addResourceType("keys", KStandardDirs::kde_default("data")+"kcmkeys"); + TDEGlobal::dirs()->addResourceType("keys", TDEStandardDirs::kde_default("data")+"kcmkeys"); // write the settings to the configfiles, depending on wich radiobutton is checked if(rb_kde->isChecked()){ writeKDE(); diff --git a/kpersonalizer/kstylepage.cpp b/kpersonalizer/kstylepage.cpp index eff55cb39..a44084608 100644 --- a/kpersonalizer/kstylepage.cpp +++ b/kpersonalizer/kstylepage.cpp @@ -118,7 +118,7 @@ void KStylePage::saveKWin(bool curSettings){ TQString twin = origKWinStyle; if(curSettings) { KDesktopFile* kdf = 0L; - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); if (cde->isSelected() && twin_cde_exist) kdf = new KDesktopFile(kstd->findResource("data", "twin/cde.desktop")); else if (win->isSelected() && twin_win_exist) @@ -324,7 +324,7 @@ void KStylePage::getColors(colorSet *set, bool colorfile ){ bool deleteConfig = false; // get the color scheme file and go to the color scheme group if(colorfile){ - TDEGlobal::dirs()->addResourceType("colors", KStandardDirs::kde_default("data")+"kdisplay/color-schemes"); + TDEGlobal::dirs()->addResourceType("colors", TDEStandardDirs::kde_default("data")+"kdisplay/color-schemes"); // set the style if (kde->isSelected()) { set->bgMode="Flat"; @@ -439,7 +439,7 @@ void KStylePage::getAvailability() { twin_keramik_exist = twin_system_exist = twin_plastik_exist = twin_default_exist = twin_win_exist = twin_cde_exist = twin_quartz_exist = false; - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); if (!kstd->findResource("data", "twin/keramik.desktop").isNull()) twin_keramik_exist = true; if (!kstd->findResource("data", "twin/plastik.desktop").isNull()) -- cgit v1.2.1