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 /kabc/vcard/testread.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 'kabc/vcard/testread.cpp')
-rw-r--r-- | kabc/vcard/testread.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kabc/vcard/testread.cpp b/kabc/vcard/testread.cpp index 919c6616d..3a33c7d54 100644 --- a/kabc/vcard/testread.cpp +++ b/kabc/vcard/testread.cpp @@ -2,8 +2,8 @@ #include <stdlib.h> #include <assert.h> -#include <qfile.h> -#include <qtextstream.h> +#include <tqfile.h> +#include <tqtextstream.h> #include <VCard.h> @@ -16,16 +16,16 @@ int main(int argc, char * argv[]) exit(1); } - QFile f(argv[1]); + TQFile f(argv[1]); - QCString str; + TQCString str; if (!f.open(IO_ReadOnly)) { cerr << "Couldn't open file \"" << argv[1] << endl; exit(1); } - QTextStream t(&f); + TQTextStream t(&f); while (!t.eof()) str += t.readLine().utf8() + '\n'; @@ -52,7 +52,7 @@ int main(int argc, char * argv[]) if (v.has(EntityEmail)) { cerr << "Email parameter found" << endl; - QCString s = v.contentLine(EntityEmail)->value()->asString(); + TQCString s = v.contentLine(EntityEmail)->value()->asString(); cerr << "Email value == " << s << endl; } |