summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyselector.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
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/widgets/kmymoneyselector.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets/kmymoneyselector.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyselector.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/kmymoneyselector.cpp b/kmymoney2/widgets/kmymoneyselector.cpp
index 5e16bf1..b4af52f 100644
--- a/kmymoney2/widgets/kmymoneyselector.cpp
+++ b/kmymoney2/widgets/kmymoneyselector.cpp
@@ -357,7 +357,7 @@ void KMyMoneySelector::selectItems(const TQStringList& itemList, const bool stat
for(it_v = m_listView->firstChild(); it_v != 0; it_v = it_v->nextSibling()) {
if(it_v->rtti() == 1) {
KMyMoneyCheckListItem* it_c = dynamic_cast<KMyMoneyCheckListItem*>(it_v);
- if(it_c->type() == TQCheckListItem::CheckBox && itemList.tqcontains(it_c->id())) {
+ if(it_c->type() == TQCheckListItem::CheckBox && itemList.contains(it_c->id())) {
it_c->setOn(state);
}
selectSubItems(it_v, itemList, state);
@@ -373,7 +373,7 @@ void KMyMoneySelector::selectSubItems(TQListViewItem* item, const TQStringList&
for(it_v = item->firstChild(); it_v != 0; it_v = it_v->nextSibling()) {
if(it_v->rtti() == 1) {
KMyMoneyCheckListItem* it_c = dynamic_cast<KMyMoneyCheckListItem*>(it_v);
- if(it_c->type() == TQCheckListItem::CheckBox && itemList.tqcontains(it_c->id())) {
+ if(it_c->type() == TQCheckListItem::CheckBox && itemList.contains(it_c->id())) {
it_c->setOn(state);
}
selectSubItems(it_v, itemList, state);
@@ -634,7 +634,7 @@ int KMyMoneySelector::slotMakeCompletion(const TQRegExp& exp)
return cnt;
}
-bool KMyMoneySelector::tqcontains(const TQString& txt) const
+bool KMyMoneySelector::contains(const TQString& txt) const
{
TQListViewItemIterator it(m_listView, TQListViewItemIterator::Selectable);
TQListViewItem* it_v;
@@ -684,7 +684,7 @@ void KMyMoneySelector::slotListRightMouse(TQListViewItem* it_v, const TQPoint& p
p.rx() -= xdepth;
// copy ends around here
- if ( r.tqcontains( p ) ) {
+ if ( r.contains( p ) ) {
// we get down here, if we have a right click onto the checkbox
selectAllSubItems(it_c, it_c->isOn());
}