From d3afa6baf98ef5ac191996cc9b909ff9074c168c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:26 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kstyles/kthemestyle/kstyledirs.cpp | 6 +++--- kstyles/kthemestyle/kstyledirs.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kstyles') diff --git a/kstyles/kthemestyle/kstyledirs.cpp b/kstyles/kthemestyle/kstyledirs.cpp index 7e548d0d5..0128dac28 100644 --- a/kstyles/kthemestyle/kstyledirs.cpp +++ b/kstyles/kthemestyle/kstyledirs.cpp @@ -1,7 +1,7 @@ /* $Id$ - Simple helper routines for style's use of KStandardDirs with TQSettings, etc. + Simple helper routines for style's use of TDEStandardDirs with TQSettings, etc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -29,8 +29,8 @@ KStyleDirs* KStyleDirs::instance = 0; KStyleDirs::KStyleDirs() { - addResourceType( "themepixmap", KStandardDirs::kde_default( "data" ) + "kstyle/pixmaps/" ); - addResourceType( "themerc", KStandardDirs::kde_default( "data" ) + "kstyle/themes/" ); + addResourceType( "themepixmap", TDEStandardDirs::kde_default( "data" ) + "kstyle/pixmaps/" ); + addResourceType( "themerc", TDEStandardDirs::kde_default( "data" ) + "kstyle/themes/" ); } KStyleDirs::~KStyleDirs() diff --git a/kstyles/kthemestyle/kstyledirs.h b/kstyles/kthemestyle/kstyledirs.h index 9d2635136..79887cce1 100644 --- a/kstyles/kthemestyle/kstyledirs.h +++ b/kstyles/kthemestyle/kstyledirs.h @@ -30,16 +30,16 @@ /** * @short Access to the standard KDE directories for the pixmap style * @author Maksim Orlovich is responsible for this file, - but all the interesting work is done by KStandardDirs + but all the interesting work is done by TDEStandardDirs * @version $Id$ * -* This class provides a this wrapper for styles around KStandardDirs, +* This class provides a this wrapper for styles around TDEStandardDirs, * permitting integration with TQSettings and easy loading of pixmaps * * It add share/apps/kstyle/themes as "themerc", * share/apps/kstyle/pixmaps "themepixmap" */ -class KStyleDirs: public KStandardDirs +class KStyleDirs: public TDEStandardDirs { public: static KStyleDirs* dirs() -- cgit v1.2.1