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/stdaddressbook.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/stdaddressbook.cpp')
-rw-r--r-- | kabc/stdaddressbook.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kabc/stdaddressbook.cpp b/kabc/stdaddressbook.cpp index 95c222bf3..6b574d86f 100644 --- a/kabc/stdaddressbook.cpp +++ b/kabc/stdaddressbook.cpp @@ -40,12 +40,12 @@ bool StdAddressBook::mAutomaticSave = true; static KStaticDeleter<StdAddressBook> addressBookDeleter; -QString StdAddressBook::fileName() +TQString StdAddressBook::fileName() { return locateLocal( "data", "kabc/std.vcf" ); } -QString StdAddressBook::directoryName() +TQString StdAddressBook::directoryName() { return locateLocal( "data", "kabc/stdvcf" ); } @@ -100,18 +100,18 @@ void StdAddressBook::init( bool asynchronous ) for ( it = manager->activeBegin(); it != manager->activeEnd(); ++it ) { (*it)->setAddressBook( this ); if ( !(*it)->open() ) { - error( QString( "Unable to open resource '%1'!" ).arg( (*it)->resourceName() ) ); + error( TQString( "Unable to open resource '%1'!" ).arg( (*it)->resourceName() ) ); continue; } - connect( *it, SIGNAL( loadingFinished( Resource* ) ), - this, SLOT( resourceLoadingFinished( Resource* ) ) ); - connect( *it, SIGNAL( savingFinished( Resource* ) ), - this, SLOT( resourceSavingFinished( Resource* ) ) ); - - connect( *it, SIGNAL( loadingError( Resource*, const QString& ) ), - this, SLOT( resourceLoadingError( Resource*, const QString& ) ) ); - connect( *it, SIGNAL( savingError( Resource*, const QString& ) ), - this, SLOT( resourceSavingError( Resource*, const QString& ) ) ); + connect( *it, TQT_SIGNAL( loadingFinished( Resource* ) ), + this, TQT_SLOT( resourceLoadingFinished( Resource* ) ) ); + connect( *it, TQT_SIGNAL( savingFinished( Resource* ) ), + this, TQT_SLOT( resourceSavingFinished( Resource* ) ) ); + + connect( *it, TQT_SIGNAL( loadingError( Resource*, const TQString& ) ), + this, TQT_SLOT( resourceLoadingError( Resource*, const TQString& ) ) ); + connect( *it, TQT_SIGNAL( savingError( Resource*, const TQString& ) ), + this, TQT_SLOT( resourceSavingError( Resource*, const TQString& ) ) ); } Resource *res = standardResource(); |