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/plugins/evolution/resourceevo.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/plugins/evolution/resourceevo.cpp')
-rw-r--r-- | kabc/plugins/evolution/resourceevo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kabc/plugins/evolution/resourceevo.cpp b/kabc/plugins/evolution/resourceevo.cpp index a1858bf83..a93d7d2a1 100644 --- a/kabc/plugins/evolution/resourceevo.cpp +++ b/kabc/plugins/evolution/resourceevo.cpp @@ -1,4 +1,4 @@ -#include <qdir.h> +#include <tqdir.h> #include <kglobal.h> #include <klocale.h> @@ -22,7 +22,7 @@ class EvolutionFactory : public KRES::PluginFactoryBase return new ResourceEvolution( config ); } - KRES::ConfigWidget *configWidget( QWidget * ) + KRES::ConfigWidget *configWidget( TQWidget * ) { return 0; } @@ -46,11 +46,11 @@ ResourceEvolution::~ResourceEvolution() { } bool ResourceEvolution::doOpen() { mWrap = new DBWrapper; - if (!mWrap->open( QDir::homeDirPath() + "/evolution/local/Contacts/addressbook.db" ) ) { + if (!mWrap->open( TQDir::homeDirPath() + "/evolution/local/Contacts/addressbook.db" ) ) { return false; } - QString val; + TQString val; if (!mWrap->find( "PAS-DB-VERSION", val ) ) return false; @@ -88,7 +88,7 @@ bool ResourceEvolution::load() { qWarning( "val:%s", it.value().latin1() ); VCardTool tool; - QString str = it.value().stripWhiteSpace(); + TQString str = it.value().stripWhiteSpace(); Addressee::List list = tool.parseVCards( str ); if (!list.first().isEmpty() ) { Addressee adr = list.first(); @@ -104,7 +104,7 @@ bool ResourceEvolution::save( Ticket* ticket ) { // just delete the summary so evolution will regenerate it // on next start up - (void)QFile::remove( QDir::homeDirPath() + "/evolution/local/Contacts/addressbook.db.summary" ); + (void)TQFile::remove( TQDir::homeDirPath() + "/evolution/local/Contacts/addressbook.db.summary" ); AddressBook::Iterator it; |