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/tests/testkabc.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/tests/testkabc.cpp')
-rw-r--r-- | kabc/tests/testkabc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/tests/testkabc.cpp b/kabc/tests/testkabc.cpp index 15fa11c44..c5d2d12e4 100644 --- a/kabc/tests/testkabc.cpp +++ b/kabc/tests/testkabc.cpp @@ -5,8 +5,8 @@ #include <kcmdlineargs.h> #include <kstandarddirs.h> -#include <qfile.h> -#include <qimage.h> +#include <tqfile.h> +#include <tqimage.h> #include "geo.h" #include "secrecy.h" @@ -31,7 +31,7 @@ int main(int argc,char **argv) #ifdef READ AddressBook::Iterator it; for ( it = ab->begin(); it != ab->end(); ++it ) { - QString vcard; + TQString vcard; VCardConverter converter; converter.addresseeToVCard( *it, vcard ); kdDebug() << "card=" << vcard << endl; @@ -44,11 +44,11 @@ int main(int argc,char **argv) Picture pic; - QImage img; + TQImage img; img.load("/home/tobias/test.png"); /* pic.setData(img); - pic.setType(QImage::imageFormat("/home/tobias/test.png")); + pic.setType(TQImage::imageFormat("/home/tobias/test.png")); */ pic.setUrl("http://www.mypict.de"); addr.setLogo( pic ); |