summaryrefslogtreecommitdiffstats
path: root/libkcal/customproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/customproperties.cpp')
-rw-r--r--libkcal/customproperties.cpp8
1 files changed, 4 insertions, 4 deletions
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<TQCString, TQString>::ConstIterator it;
for( it = mProperties.begin(); it != mProperties.end(); ++it ) {
TQMap<TQCString, TQString>::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<TQCString, TQString>::Iterator it = mProperties.find(name);
+ TQMap<TQCString, TQString>::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<TQCString, TQString>::ConstIterator it = mProperties.find(name);
+ TQMap<TQCString, TQString>::ConstIterator it = mProperties.tqfind(name);
if (it == mProperties.end())
- return TQString::null;
+ return TQString();
return it.data();
}