diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libemailfunctions/idmapper.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libemailfunctions/idmapper.cpp')
-rw-r--r-- | libemailfunctions/idmapper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libemailfunctions/idmapper.cpp b/libemailfunctions/idmapper.cpp index 089aa9221..d90ad8171 100644 --- a/libemailfunctions/idmapper.cpp +++ b/libemailfunctions/idmapper.cpp @@ -134,12 +134,12 @@ void IdMapper::removeRemoteId( const TQString &remoteId ) TQString IdMapper::remoteId( const TQString &localId ) const { TQMap<TQString, TQVariant>::ConstIterator it; - it = mIdMap.find( localId ); + it = mIdMap.tqfind( localId ); if ( it != mIdMap.end() ) return it.data().toString(); else - return TQString::null; + return TQString(); } TQString IdMapper::localId( const TQString &remoteId ) const @@ -149,7 +149,7 @@ TQString IdMapper::localId( const TQString &remoteId ) const if ( it.data().toString() == remoteId ) return it.key(); - return TQString::null; + return TQString(); } TQString IdMapper::asString() const @@ -177,7 +177,7 @@ const TQString& IdMapper::fingerprint( const TQString &localId ) const if ( mFingerprintMap.tqcontains( localId ) ) return mFingerprintMap[ localId ]; else - return TQString::null; + return TQString(); } TQMap<TQString, TQString> IdMapper::remoteIdMap() const |