summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/set.cpp
diff options
context:
space:
mode:
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();