summaryrefslogtreecommitdiffstats
path: root/tdeprint/tdeprintcheck.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /tdeprint/tdeprintcheck.cpp
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdeprint/tdeprintcheck.cpp')
-rw-r--r--tdeprint/tdeprintcheck.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/tdeprintcheck.cpp b/tdeprint/tdeprintcheck.cpp
index 1b5cc691a..a1985e804 100644
--- a/tdeprint/tdeprintcheck.cpp
+++ b/tdeprint/tdeprintcheck.cpp
@@ -53,7 +53,7 @@ static const char* const config_stddirs[] = {
0
};
-bool KdeprintChecker::check(KConfig *conf, const TQString& group)
+bool KdeprintChecker::check(TDEConfig *conf, const TQString& group)
{
if (!group.isEmpty())
conf->setGroup(group);
@@ -80,7 +80,7 @@ bool KdeprintChecker::checkURL(const KURL& url)
else if (prot == "exec")
return checkExec(url);
else if (prot == "file" || prot == "dir")
- return KStandardDirs::exists(url.url());
+ return TDEStandardDirs::exists(url.url());
else if (prot == "service")
return checkService(url);
return false;
@@ -117,7 +117,7 @@ bool KdeprintChecker::checkConfig(const KURL& url)
bool KdeprintChecker::checkExec(const KURL& url)
{
QString execname(url.path().mid(1));
- return !(KStandardDirs::findExe(execname).isEmpty());
+ return !(TDEStandardDirs::findExe(execname).isEmpty());
}
bool KdeprintChecker::checkService(const KURL& url)