summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneypriceview.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/kmymoneypriceview.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/kmymoneypriceview.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneypriceview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/kmymoneypriceview.cpp b/kmymoney2/widgets/kmymoneypriceview.cpp
index e1dd25e..8af269f 100644
--- a/kmymoney2/widgets/kmymoneypriceview.cpp
+++ b/kmymoney2/widgets/kmymoneypriceview.cpp
@@ -61,7 +61,7 @@
#define PRICE_COL 3
#define SOURCE_COL 4
-KMyMoneyPriceItem::KMyMoneyPriceItem(KListView *view, const MyMoneyPrice& pr) :
+KMyMoneyPriceItem::KMyMoneyPriceItem(TDEListView *view, const MyMoneyPrice& pr) :
KMyMoneyListViewItem(view, TQString(), TQString(), TQString()),
m_pr(pr)
{
@@ -119,7 +119,7 @@ int KMyMoneyPriceItem::compare(TQListViewItem* i, int col, bool ascending) const
}
KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
- KListView(parent,name),
+ TDEListView(parent,name),
m_contextMenu(0),
m_showAll(false)
{
@@ -139,7 +139,7 @@ KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
KIconLoader *kiconloader = TDEGlobal::iconLoader();
- m_contextMenu = new KPopupMenu(this);
+ m_contextMenu = new TDEPopupMenu(this);
m_contextMenu->insertTitle(i18n("Price Options"));
m_contextMenu->insertItem(kiconloader->loadIcon("filenew", KIcon::Small),
i18n("New..."),
@@ -220,7 +220,7 @@ void KMyMoneyPriceView::resizeEvent(TQResizeEvent* e)
setColumnWidth(4, w);
resizeContents(visibleWidth(), contentsHeight());
- KListView::resizeEvent(e);
+ TDEListView::resizeEvent(e);
}
void KMyMoneyPriceView::slotListClicked(TQListViewItem* item, const TQPoint&, int)