From da4097d57f460eed4814a1c37fbb76a76e19d421 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:30:22 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- quanta/utility/quantacommon.cpp | 6 +++--- quanta/utility/quantacommon.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'quanta/utility') diff --git a/quanta/utility/quantacommon.cpp b/quanta/utility/quantacommon.cpp index e7f9380d..db1ce345 100644 --- a/quanta/utility/quantacommon.cpp +++ b/quanta/utility/quantacommon.cpp @@ -287,12 +287,12 @@ int eCol){ return pos; } -/** Returns a pointer to a KStandardDirs object usable for plugin searchup. type +/** Returns a pointer to a TDEStandardDirs object usable for plugin searchup. type is the plugin binary type (exe or lib). The returned pointer must be deleted by the caller!! */ -KStandardDirs* QuantaCommon::pluginDirs(const char *type) +TDEStandardDirs* QuantaCommon::pluginDirs(const char *type) { - KStandardDirs *dirs = new KStandardDirs(); + TDEStandardDirs *dirs = new TDEStandardDirs(); dirs->addKDEDefaults(); for (uint i = 0; i < qConfig.pluginSearchPaths.count(); i++) { diff --git a/quanta/utility/quantacommon.h b/quanta/utility/quantacommon.h index 586b7e50..4553da9c 100644 --- a/quanta/utility/quantacommon.h +++ b/quanta/utility/quantacommon.h @@ -31,7 +31,7 @@ class TQString; class DCOPReply; class KURL; -class KStandardDirs; +class TDEStandardDirs; class TQWidget; class Tag; @@ -148,9 +148,9 @@ quotation setting*/ /** Returns 0 if the (line,col) is inside the area specified by the other arguments, -1 if it is before the area and 1 if it is after. */ static int isBetween(int line, int col, int bLine, int bCol, int eLine, int eCol); - /** Returns a pointer to a KStandardDirs object usable for plugin searchup. type is the plugin binary type (exe or lib). The returned + /** Returns a pointer to a TDEStandardDirs object usable for plugin searchup. type is the plugin binary type (exe or lib). The returned pointer must be deleted by the caller!! */ - static KStandardDirs* pluginDirs(const char *type); + static TDEStandardDirs* pluginDirs(const char *type); /** Return true, if the url has the mimetype starting with type. */ static bool checkMimeGroup(const KURL& url, const TQString& type); -- cgit v1.2.1