summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kaccounttemplateselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kaccounttemplateselector.cpp')
-rw-r--r--kmymoney2/widgets/kaccounttemplateselector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/widgets/kaccounttemplateselector.cpp b/kmymoney2/widgets/kaccounttemplateselector.cpp
index 1816fab..2fd689b 100644
--- a/kmymoney2/widgets/kaccounttemplateselector.cpp
+++ b/kmymoney2/widgets/kaccounttemplateselector.cpp
@@ -84,7 +84,7 @@ class KAccountTemplateSelector::Private
#ifndef KMM_DESIGNER
TQListViewItem* KAccountTemplateSelector::Private::hierarchyItem(const TQString& tqparent, const TQString& name)
{
- if(!m_templateHierarchy.tqcontains(tqparent)
+ if(!m_templateHierarchy.contains(tqparent)
|| m_templateHierarchy[tqparent] == 0) {
TQRegExp exp("(.*):(.*)");
if(exp.search(tqparent) != -1)
@@ -197,7 +197,7 @@ void KAccountTemplateSelector::slotLoadTemplateList(void)
if(country.isEmpty())
country = exp.cap(2);
TQString lang = KGlobal::locale()->twoAlphaToLanguageName(exp.cap(1));
- if(d->countries.tqcontains(country)) {
+ if(d->countries.contains(country)) {
if(d->countries[country] != *it_d) {
TQString oName = d->countries[country];
exp.search(oName);