diff options
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; } |