diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:01:10 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:01:10 -0600 |
commit | a6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch) | |
tree | 59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/views/kbudgetview.cpp | |
parent | db89d6f6d944825a20ce69bb11c23b19b2935164 (diff) | |
download | kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.tar.gz kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/views/kbudgetview.cpp')
-rw-r--r-- | kmymoney2/views/kbudgetview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp index 8656970..2a09ac9 100644 --- a/kmymoney2/views/kbudgetview.cpp +++ b/kmymoney2/views/kbudgetview.cpp @@ -61,8 +61,8 @@ #include "../kmymoney2.h" // *** KBudgetListItem Implementation *** -KBudgetListItem::KBudgetListItem(KListView *parent, const MyMoneyBudget& budget) : - KListViewItem(parent), +KBudgetListItem::KBudgetListItem(TDEListView *parent, const MyMoneyBudget& budget) : + TDEListViewItem(parent), m_budget(budget) { setText(0, budget.name()); @@ -139,8 +139,8 @@ KBudgetView::KBudgetView(TQWidget *parent, const char *name ) : m_resetButton->setGuiItem(resetButtenItem); TQToolTip::add(m_resetButton, resetButtenItem.toolTip()); - connect(m_budgetList, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem* , const TQPoint&)), - this, TQT_SLOT(slotOpenContextMenu(KListView*, TQListViewItem*, const TQPoint&))); + connect(m_budgetList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)), + this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&))); connect(m_budgetList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&))); connect(m_budgetList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectBudget())); @@ -562,7 +562,7 @@ KMyMoneyAccountTreeBudgetItem* KBudgetView::selectedAccount(void) const return item; } -void KBudgetView::slotOpenContextMenu(KListView* lv, TQListViewItem* i, const TQPoint& p) +void KBudgetView::slotOpenContextMenu(TDEListView* lv, TQListViewItem* i, const TQPoint& p) { Q_UNUSED(lv); Q_UNUSED(p); |