From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- libkcal/customproperties.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libkcal/customproperties.cpp') diff --git a/libkcal/customproperties.cpp b/libkcal/customproperties.cpp index 689a2c854..b79166a2d 100644 --- a/libkcal/customproperties.cpp +++ b/libkcal/customproperties.cpp @@ -44,7 +44,7 @@ bool CustomProperties::operator==( const CustomProperties &other ) const TQMap::ConstIterator it; for( it = mProperties.begin(); it != mProperties.end(); ++it ) { TQMap::ConstIterator itOther = - other.mProperties.find( it.key() ); + other.mProperties.tqfind( it.key() ); if ( itOther == other.mProperties.end() ) { return false; @@ -87,7 +87,7 @@ void CustomProperties::setNonKDECustomProperty(const TQCString &name, const TQSt void CustomProperties::removeNonKDECustomProperty(const TQCString &name) { - TQMap::Iterator it = mProperties.find(name); + TQMap::Iterator it = mProperties.tqfind(name); if (it != mProperties.end()) { mProperties.remove(it); customPropertyUpdated(); @@ -96,9 +96,9 @@ void CustomProperties::removeNonKDECustomProperty(const TQCString &name) TQString CustomProperties::nonKDECustomProperty(const TQCString &name) const { - TQMap::ConstIterator it = mProperties.find(name); + TQMap::ConstIterator it = mProperties.tqfind(name); if (it == mProperties.end()) - return TQString::null; + return TQString(); return it.data(); } -- cgit v1.2.1