diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /libkcal/customproperties.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/customproperties.cpp')
-rw-r--r-- | libkcal/customproperties.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkcal/customproperties.cpp b/libkcal/customproperties.cpp index b79166a2d..ca31645a8 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.tqfind( it.key() ); + other.mProperties.find( 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.tqfind(name); + TQMap<TQCString, TQString>::Iterator it = mProperties.find(name); if (it != mProperties.end()) { mProperties.remove(it); customPropertyUpdated(); @@ -96,7 +96,7 @@ void CustomProperties::removeNonKDECustomProperty(const TQCString &name) TQString CustomProperties::nonKDECustomProperty(const TQCString &name) const { - TQMap<TQCString, TQString>::ConstIterator it = mProperties.tqfind(name); + TQMap<TQCString, TQString>::ConstIterator it = mProperties.find(name); if (it == mProperties.end()) return TQString(); return it.data(); @@ -123,7 +123,7 @@ TQMap<TQCString, TQString> CustomProperties::customProperties() const bool CustomProperties::checkName(const TQCString &name) { - // Check that the property name starts with 'X-' and tqcontains + // Check that the property name starts with 'X-' and contains // only the permitted characters const char* n = name; int len = name.length(); |