diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kitchensync/src/addresseediffalgo.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/src/addresseediffalgo.cpp')
-rw-r--r-- | kitchensync/src/addresseediffalgo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kitchensync/src/addresseediffalgo.cpp b/kitchensync/src/addresseediffalgo.cpp index 18b924b5a..fc73c3677 100644 --- a/kitchensync/src/addresseediffalgo.cpp +++ b/kitchensync/src/addresseediffalgo.cpp @@ -25,7 +25,7 @@ using namespace KSync; -static bool compareString( const QString &left, const QString &right ) +static bool compareString( const TQString &left, const TQString &right ) { if ( left.isEmpty() && right.isEmpty() ) return true; @@ -39,8 +39,8 @@ AddresseeDiffAlgo::AddresseeDiffAlgo( const KABC::Addressee &leftAddressee, { } -AddresseeDiffAlgo::AddresseeDiffAlgo( const QString &leftAddressee, - const QString &rightAddressee ) +AddresseeDiffAlgo::AddresseeDiffAlgo( const TQString &leftAddressee, + const TQString &rightAddressee ) { KABC::VCardConverter converter; @@ -131,19 +131,19 @@ void AddresseeDiffAlgo::run() end(); } -QString AddresseeDiffAlgo::toString( const KABC::PhoneNumber &number ) +TQString AddresseeDiffAlgo::toString( const KABC::PhoneNumber &number ) { return number.number(); } -QString AddresseeDiffAlgo::toString( const KABC::Address &addr ) +TQString AddresseeDiffAlgo::toString( const KABC::Address &addr ) { return addr.formattedAddress(); } template <class L> -void AddresseeDiffAlgo::diffList( const QString &id, - const QValueList<L> &left, const QValueList<L> &right ) +void AddresseeDiffAlgo::diffList( const TQString &id, + const TQValueList<L> &left, const TQValueList<L> &right ) { for ( uint i = 0; i < left.count(); ++i ) { if ( right.find( left[ i ] ) == right.end() ) |