summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kaccounttemplateselector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:01:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:01:10 -0600
commita6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch)
tree59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/widgets/kaccounttemplateselector.cpp
parentdb89d6f6d944825a20ce69bb11c23b19b2935164 (diff)
downloadkmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.tar.gz
kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/widgets/kaccounttemplateselector.cpp')
-rw-r--r--kmymoney2/widgets/kaccounttemplateselector.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kaccounttemplateselector.cpp b/kmymoney2/widgets/kaccounttemplateselector.cpp
index badcdff..d7afd37 100644
--- a/kmymoney2/widgets/kaccounttemplateselector.cpp
+++ b/kmymoney2/widgets/kaccounttemplateselector.cpp
@@ -38,7 +38,7 @@
#include "kaccounttemplateselector.h"
-class KTemplateListItem : public KListViewItem
+class KTemplateListItem : public TDEListViewItem
{
public:
KTemplateListItem(TQListViewItem* parent, const TQString& text);
@@ -48,7 +48,7 @@ class KTemplateListItem : public KListViewItem
};
KTemplateListItem::KTemplateListItem(TQListViewItem* parent, const TQString& text) :
- KListViewItem(parent, text),
+ TDEListViewItem(parent, text),
m_isAvailable(false)
{
}
@@ -132,7 +132,7 @@ void KAccountTemplateSelector::Private::loadHierarchy(void)
TQRegExp exp("(.*):(.*)");
for(it_m = m_templateHierarchy.begin(); it_m != m_templateHierarchy.end(); ++it_m) {
if(exp.search(it_m.key()) == -1) {
- (*it_m) = new KListViewItem(m_parent->m_accountList, it_m.key());
+ (*it_m) = new TDEListViewItem(m_parent->m_accountList, it_m.key());
} else {
(*it_m) = hierarchyItem(exp.cap(1), exp.cap(2));
}
@@ -233,7 +233,7 @@ void KAccountTemplateSelector::slotLoadCountry(void)
{
#ifndef KMM_DESIGNER
- KListViewItem* parent = new KListViewItem(m_groupList, d->it_m.key());
+ TDEListViewItem* parent = new TDEListViewItem(m_groupList, d->it_m.key());
parent->setSelectable(false);
TQStringList::iterator it;
for(it = d->dirlist.begin(); it != d->dirlist.end(); ++it) {
@@ -244,7 +244,7 @@ void KAccountTemplateSelector::slotLoadCountry(void)
for(it_f = files.begin(); it_f != files.end(); ++it_f) {
MyMoneyTemplate templ(TQString("%1/%2").arg(dir.canonicalPath()).arg(*it_f));
d->m_templates[TQString("%1").arg(d->id)] = templ;
- new KListViewItem(parent, templ.title(), templ.shortDescription(), TQString("%1").arg(d->id));
+ new TDEListViewItem(parent, templ.title(), templ.shortDescription(), TQString("%1").arg(d->id));
++d->id;
}
}