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/addresseehelper.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/addresseehelper.cpp')
-rw-r--r-- | kabc/addresseehelper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kabc/addresseehelper.cpp b/kabc/addresseehelper.cpp index 96ab62578..df4085a02 100644 --- a/kabc/addresseehelper.cpp +++ b/kabc/addresseehelper.cpp @@ -17,7 +17,7 @@ Boston, MA 02110-1301, USA. */ -#include <qapplication.h> +#include <tqapplication.h> #include <kconfig.h> #include <klocale.h> @@ -38,7 +38,7 @@ AddresseeHelper *AddresseeHelper::self() } AddresseeHelper::AddresseeHelper() - : QObject( qApp ), + : TQObject( qApp ), DCOPObject( "KABC::AddresseeHelper" ) { initSettings(); @@ -48,10 +48,10 @@ AddresseeHelper::AddresseeHelper() } // static -void AddresseeHelper::addToSet( const QStringList& list, - std::set<QString>& container ) +void AddresseeHelper::addToSet( const TQStringList& list, + std::set<TQString>& container ) { - QStringList::ConstIterator it; + TQStringList::ConstIterator it; for ( it = list.begin(); it != list.end(); ++it ) { if ( !(*it).isEmpty() ) container.insert( *it ); @@ -90,17 +90,17 @@ void AddresseeHelper::initSettings() mTradeAsFamilyName = config.readBoolEntry( "TradeAsFamilyName", true ); } -bool AddresseeHelper::containsTitle( const QString& title ) const +bool AddresseeHelper::containsTitle( const TQString& title ) const { return mTitles.find( title ) != mTitles.end(); } -bool AddresseeHelper::containsPrefix( const QString& prefix ) const +bool AddresseeHelper::containsPrefix( const TQString& prefix ) const { return mPrefixes.find( prefix ) != mPrefixes.end(); } -bool AddresseeHelper::containsSuffix( const QString& suffix ) const +bool AddresseeHelper::containsSuffix( const TQString& suffix ) const { return mSuffixes.find( suffix ) != mSuffixes.end(); } |