diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/builder/dirmanager.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/builder/dirmanager.cpp')
-rw-r--r-- | arts/builder/dirmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/builder/dirmanager.cpp b/arts/builder/dirmanager.cpp index 27347738..2f22f104 100644 --- a/arts/builder/dirmanager.cpp +++ b/arts/builder/dirmanager.cpp @@ -23,7 +23,7 @@ #include <stdio.h> #include <stdlib.h> -#include <qfile.h> +#include <tqfile.h> #include <kstandarddirs.h> #include <kmessagebox.h> @@ -68,19 +68,19 @@ const char *DirManager::baseDir() return d; } -char *DirManager::directory(const char *subdir, const QString &desc) +char *DirManager::directory(const char *subdir, const TQString &desc) { const char *home = getenv("HOME"); if(home == 0) return strdup(""); - QCString dirname = QCString(home) + "/arts" + subdir; + TQCString dirname = TQCString(home) + "/arts" + subdir; struct stat buf; if(stat(dirname.data(), &buf) == -1) { - QString message; - QString dir = QFile::decodeName(dirname); + TQString message; + TQString dir = TQFile::decodeName(dirname); message = i18n("You need the folder %1.\n" "It will be used to store %2.\nShould I create it now?") .arg(dir).arg(desc); |