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 | 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch) | |
tree | 36613dfe2f86f8ccb96a30f3880507341228eeb0 /kdeprint/driver.cpp | |
parent | 1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff) | |
download | tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/driver.cpp')
-rw-r--r-- | kdeprint/driver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/driver.cpp b/kdeprint/driver.cpp index 241dd0b10..26423a858 100644 --- a/kdeprint/driver.cpp +++ b/kdeprint/driver.cpp @@ -61,7 +61,7 @@ DriverItem* DrBase::createItem(DriverItem *parent, DriverItem *after) void DrBase::setOptions(const TQMap<TQString,TQString>& opts) { - if (opts.tqcontains(name())) setValueText(opts[name()]); + if (opts.contains(name())) setValueText(opts[name()]); } void DrBase::getOptions(TQMap<TQString,TQString>& opts, bool incldef) @@ -224,7 +224,7 @@ void DrGroup::addObject(DrBase *optgrp) void DrGroup::removeOption(const TQString& name) { - DrBase *opt = m_options.tqfind(name); + DrBase *opt = m_options.find(name); if (opt) { m_listoptions.removeRef(opt); @@ -264,7 +264,7 @@ void DrGroup::createTree(DriverItem *parent) DrBase* DrGroup::findOption(const TQString& name, DrGroup **parentGroup) { - DrBase *opt = m_options.tqfind(name); + DrBase *opt = m_options.find(name); if (!opt) { TQPtrListIterator<DrGroup> it(m_subgroups); @@ -278,7 +278,7 @@ DrBase* DrGroup::findOption(const TQString& name, DrGroup **parentGroup) DrGroup* DrGroup::findGroup(DrGroup *grp, DrGroup ** parentGroup) { - DrGroup *group = (m_subgroups.tqfindRef(grp) == -1 ? 0 : grp); + DrGroup *group = (m_subgroups.findRef(grp) == -1 ? 0 : grp); if (!group) { TQPtrListIterator<DrGroup> it(m_subgroups); |