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 | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /lib/koproperty/property.cpp | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-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/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 |