summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneycategory.cpp
diff options
context:
space:
mode:
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);