diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/kdeprintcheck.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kdeprintcheck.cpp')
-rw-r--r-- | kdeprint/kdeprintcheck.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeprint/kdeprintcheck.cpp b/kdeprint/kdeprintcheck.cpp index 9e9cccac4..5c807ae9b 100644 --- a/kdeprint/kdeprintcheck.cpp +++ b/kdeprint/kdeprintcheck.cpp @@ -41,7 +41,7 @@ #include <kstandarddirs.h> #include <kdebug.h> #include <kextsock.h> -#include <qfile.h> +#include <tqfile.h> #include <unistd.h> static const char* const config_stddirs[] = { @@ -53,7 +53,7 @@ static const char* const config_stddirs[] = { 0 }; -bool KdeprintChecker::check(KConfig *conf, const QString& group) +bool KdeprintChecker::check(KConfig *conf, const TQString& group) { if (!group.isEmpty()) conf->setGroup(group); @@ -61,10 +61,10 @@ bool KdeprintChecker::check(KConfig *conf, const QString& group) return check(uris); } -bool KdeprintChecker::check(const QStringList& uris) +bool KdeprintChecker::check(const TQStringList& uris) { bool state(true); - for (QStringList::ConstIterator it=uris.begin(); it!=uris.end() && state; ++it) + for (TQStringList::ConstIterator it=uris.begin(); it!=uris.end() && state; ++it) { state = (state && checkURL(KURL(*it))); // kdDebug( 500 ) << "auto-detection uri=" << *it << ", state=" << state << endl; @@ -101,8 +101,8 @@ bool KdeprintChecker::checkConfig(const KURL& url) const char* const *p = config_stddirs; while (*p) { - // kdDebug( 500 ) << "checkConfig() with " << QString::fromLatin1( *p ) + f << endl; - if ( QFile::exists( QString::fromLatin1( *p ) + f ) ) + // kdDebug( 500 ) << "checkConfig() with " << TQString::fromLatin1( *p ) + f << endl; + if ( TQFile::exists( TQString::fromLatin1( *p ) + f ) ) { state = true; break; |