summaryrefslogtreecommitdiffstats
path: root/quanta/utility
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:30:22 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:30:22 -0600
commitda4097d57f460eed4814a1c37fbb76a76e19d421 (patch)
treeb6ef741955039fd648b7c33964a080c8f240204e /quanta/utility
parenta6421d953bee2eafa951c8b72b367527800fef37 (diff)
downloadtdewebdev-da4097d57f460eed4814a1c37fbb76a76e19d421.tar.gz
tdewebdev-da4097d57f460eed4814a1c37fbb76a76e19d421.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'quanta/utility')
-rw-r--r--quanta/utility/quantacommon.cpp6
-rw-r--r--quanta/utility/quantacommon.h6
2 files changed, 6 insertions, 6 deletions
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);