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.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;
}
}