summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/set.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /lib/koproperty/set.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/koproperty/set.cpp')
-rw-r--r--lib/koproperty/set.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/koproperty/set.cpp b/lib/koproperty/set.cpp
index 3193a50f..d508fc0a 100644
--- a/lib/koproperty/set.cpp
+++ b/lib/koproperty/set.cpp
@@ -73,7 +73,7 @@ class SetPrivate
inline KoProperty::Property& property(const TQCString &name) const
{
- KoProperty::Property *p = dict.tqfind(name);
+ KoProperty::Property *p = dict.find(name);
if (p)
return *p;
Set_nonConstNull.setName(0); //to ensure returned property is null
@@ -178,7 +178,7 @@ Set::addPropertyInternal(Property *property, TQCString group, bool updateSorting
return;
}
- Property *p = d->dict.tqfind(property->name());
+ Property *p = d->dict.find(property->name());
if(p) {
p->addRelatedProperty(property);
}
@@ -218,7 +218,7 @@ Set::removeProperty(const TQCString &name)
if(name.isNull())
return;
- Property *p = d->dict.tqfind(name);
+ Property *p = d->dict.find(name);
removeProperty(p);
}
@@ -255,10 +255,10 @@ Set::addToGroup(const TQCString &group, Property *property)
return;
//do not add the same property to the group twice
- if(d->groupForProperty.tqcontains(property) && (d->groupForProperty[property] == group))
+ if(d->groupForProperty.contains(property) && (d->groupForProperty[property] == group))
return;
- if(!d->propertiesOfGroup.tqcontains(group)) { // group doesn't exist
+ if(!d->propertiesOfGroup.contains(group)) { // group doesn't exist
TQValueList<TQCString> l;
l.append(property->name());
d->propertiesOfGroup.insert(group, l);
@@ -280,7 +280,7 @@ Set::removeFromGroup(Property *property)
if (d->propertiesOfGroup[group].isEmpty()) {
//remove group as well
d->propertiesOfGroup.remove(group);
- TQValueListIterator<TQCString> it = d->groupNames.tqfind(group);
+ TQValueListIterator<TQCString> it = d->groupNames.find(group);
if (it != d->groupNames.end()) {
d->groupNames.remove(it);
}
@@ -309,7 +309,7 @@ Set::setGroupDescription(const TQCString &group, const TQString& desc)
TQString
Set::groupDescription(const TQCString &group) const
{
- if(d->groupDescriptions.tqcontains(group))
+ if(d->groupDescriptions.contains(group))
return d->groupDescriptions[group];
return group;
}
@@ -353,9 +353,9 @@ Set::setReadOnly(bool readOnly)
}
bool
-Set::tqcontains(const TQCString &name) const
+Set::contains(const TQCString &name) const
{
- return d->dict.tqfind(name);
+ return d->dict.find(name);
}
Property&
@@ -497,7 +497,7 @@ void Buffer::intersectedChanged(KoProperty::Set& set, KoProperty::Property& prop
{
Q_UNUSED(set);
TQCString propertyName = prop.name();
- if ( !tqcontains( propertyName ) )
+ if ( !contains( propertyName ) )
return;
const TQValueList<Property*> *props = prop.related();
@@ -511,7 +511,7 @@ void Buffer::intersectedReset(KoProperty::Set& set, KoProperty::Property& prop)
{
Q_UNUSED(set);
TQCString propertyName = prop.name();
- if ( !tqcontains( propertyName ) )
+ if ( !contains( propertyName ) )
return;
const TQValueList<Property*> *props = prop.related();