diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kwallet/main.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwallet/main.cpp')
-rw-r--r-- | kwallet/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kwallet/main.cpp b/kwallet/main.cpp index 08f5b74..8fbd0da 100644 --- a/kwallet/main.cpp +++ b/kwallet/main.cpp @@ -26,8 +26,8 @@ #include <kstandarddirs.h> #include <kuniqueapplication.h> -#include <qfile.h> -#include <qfileinfo.h> +#include <tqfile.h> +#include <tqfileinfo.h> #include "kwalletmanager.h" @@ -84,9 +84,9 @@ int main(int argc, char **argv) { } for (int i = 0; i < args->count(); ++i) { - QString fn = QFileInfo(args->arg(i)).absFilePath(); + TQString fn = TQFileInfo(args->arg(i)).absFilePath(); KMimeType::Ptr ptr; - if (QFile::exists(fn) && + if (TQFile::exists(fn) && (ptr = KMimeType::findByFileContent(fn)) && ptr->is("application/x-kde-wallet")) { wm.openWalletFile(fn); |