summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneycategory.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/mymoney/mymoneycategory.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/mymoney/mymoneycategory.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneycategory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/mymoneycategory.cpp b/kmymoney2/mymoney/mymoneycategory.cpp
index 8717237..9a51b53 100644
--- a/kmymoney2/mymoney/mymoneycategory.cpp
+++ b/kmymoney2/mymoney/mymoneycategory.cpp
@@ -44,7 +44,7 @@ bool MyMoneyCategory::addMinorCategory(const TQString val)
if (val.isEmpty() || val.isNull())
return false;
- if (m_minorCategories.tqfind(val) == m_minorCategories.end()) {
+ if (m_minorCategories.find(val) == m_minorCategories.end()) {
m_minorCategories.append(val);
return true;
}
@@ -57,7 +57,7 @@ bool MyMoneyCategory::removeMinorCategory(const TQString val)
if (val.isEmpty() || val.isNull())
return false;
- if (m_minorCategories.tqfind(val) != m_minorCategories.end()) {
+ if (m_minorCategories.find(val) != m_minorCategories.end()) {
m_minorCategories.remove(val);
return true;
}
@@ -70,8 +70,8 @@ bool MyMoneyCategory::renameMinorCategory(const TQString oldVal, const TQString
if (oldVal.isEmpty() || oldVal.isNull() || newVal.isEmpty() || newVal.isNull())
return false;
- if (m_minorCategories.tqfind(oldVal) != m_minorCategories.end() &&
- m_minorCategories.tqfind(newVal) == m_minorCategories.end() ) {
+ if (m_minorCategories.find(oldVal) != m_minorCategories.end() &&
+ m_minorCategories.find(newVal) == m_minorCategories.end() ) {
m_minorCategories.remove(oldVal);
return addMinorCategory(newVal);