diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
commit | 79b21d47bce1ee428affc97534cd8b257232a871 (patch) | |
tree | 0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /kcontrol/style/kcmstyle.cpp | |
parent | 9a898d493f493adbc404f7223043c85f3817472b (diff) | |
download | tdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/style/kcmstyle.cpp')
-rw-r--r-- | kcontrol/style/kcmstyle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp index 274113bfb..3a2025589 100644 --- a/kcontrol/style/kcmstyle.cpp +++ b/kcontrol/style/kcmstyle.cpp @@ -75,7 +75,7 @@ extern "C" { KDE_EXPORT KCModule *create_style(TQWidget *parent, const char*) { - KGlobal::locale()->insertCatalogue("kcmstyle"); + TDEGlobal::locale()->insertCatalogue("kcmstyle"); return new KCMStyle(parent, "kcmstyle"); } @@ -96,7 +96,7 @@ extern "C" TQByteArray properties; TQDataStream d(properties, IO_WriteOnly); d.setVersion( 3 ); // Qt2 apps need this. - d << kapp->palette() << KGlobalSettings::generalFont(); + d << kapp->palette() << TDEGlobalSettings::generalFont(); Atom a = XInternAtom(tqt_xdisplay(), "_QT_DESKTOP_PROPERTIES", false); // do it for all root windows - multihead support @@ -127,7 +127,7 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name ) m_bStyleDirty= false; m_bToolbarsDirty = false; - KGlobal::dirs()->addResourceType("themes", + TDEGlobal::dirs()->addResourceType("themes", KStandardDirs::kde_default("data") + "kstyle/themes"); TDEAboutData *about = @@ -727,7 +727,7 @@ void KCMStyle::loadStyle( KConfig& config ) styleEntries.setAutoDelete(true); TQString strWidgetStyle; - TQStringList list = KGlobal::dirs()->findAllResources("themes", "*.themerc", true, true); + TQStringList list = TDEGlobal::dirs()->findAllResources("themes", "*.themerc", true, true); for (TQStringList::iterator it = list.begin(); it != list.end(); ++it) { KSimpleConfig config( *it, true ); |