diff options
Diffstat (limited to 'lib/koproperty/property.cpp')
-rw-r--r-- | lib/koproperty/property.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/koproperty/property.cpp b/lib/koproperty/property.cpp index 87d12a6d..0add7b91 100644 --- a/lib/koproperty/property.cpp +++ b/lib/koproperty/property.cpp @@ -529,7 +529,7 @@ Property::setOption(const char* name, const TQVariant& val) TQVariant Property::option(const char* name) const { - if (d->options.tqcontains(name)) + if (d->options.contains(name)) return d->options[name]; return TQVariant(); } @@ -685,7 +685,7 @@ Property::addSet(Set *set) } if ((Set*)d->set==set) return; - TQGuardedPtr<Set> *pset = d->sets ? d->sets->tqfind(set) : 0; + TQGuardedPtr<Set> *pset = d->sets ? d->sets->find(set) : 0; if (pset && (Set*)*pset == set) return; if (!d->sets) { @@ -693,7 +693,7 @@ Property::addSet(Set *set) d->sets->setAutoDelete(true); } - d->sets->tqreplace(set, new TQGuardedPtr<Set>( set )); + d->sets->replace(set, new TQGuardedPtr<Set>( set )); // TQValueList<Set*>::iterator it = tqFind( d->sets.begin(), d->sets.end(), set); // if(it == d->sets.end()) // not in our list |