summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kscheduledview.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/views/kscheduledview.cpp
parentdb89d6f6d944825a20ce69bb11c23b19b2935164 (diff)
downloadkmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.tar.gz
kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/views/kscheduledview.cpp')
-rw-r--r--kmymoney2/views/kscheduledview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/views/kscheduledview.cpp b/kmymoney2/views/kscheduledview.cpp
index 768a9c4..be5123a 100644
--- a/kmymoney2/views/kscheduledview.cpp
+++ b/kmymoney2/views/kscheduledview.cpp
@@ -64,7 +64,7 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
{
// create the searchline widget
// and insert it into the existing layout
- m_searchWidget = new KListViewSearchLineWidget(m_qlistviewScheduled, m_listTab);
+ m_searchWidget = new TDEListViewSearchLineWidget(m_qlistviewScheduled, m_listTab);
m_listTabLayout->insertWidget(0, m_searchWidget);
m_qlistviewScheduled->addColumn(i18n("Type/Name"));
@@ -86,7 +86,7 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
connect(m_qbuttonNew, TQT_SIGNAL(clicked()), kmymoney2->action("schedule_new"), TQT_SLOT(activate()));
// attach popup to 'Filter...' button
- m_kaccPopup = new KPopupMenu(this);
+ m_kaccPopup = new TDEPopupMenu(this);
m_kaccPopup->setCheckable(true);
m_accountsCombo->setPopup(m_kaccPopup);
connect(m_kaccPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotAccountActivated(int)));
@@ -98,8 +98,8 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
m_tabWidget->setTabIconSet(m_listTab, TQIconSet(il->loadIcon("contents", KIcon::Small, KIcon::SizeSmall)));
m_tabWidget->setTabIconSet(m_calendarTab, TQIconSet(il->loadIcon("calendartab", KIcon::User, KIcon::SizeSmall)));
- connect(m_qlistviewScheduled, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotListViewContextMenu(KListView*, TQListViewItem*, const TQPoint&)));
+ connect(m_qlistviewScheduled, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQT_SLOT(slotListViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
connect(m_qlistviewScheduled, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQT_SLOT(slotSetSelectedItem(TQListViewItem*)));
@@ -336,7 +336,7 @@ void KScheduledView::writeConfig(void)
m_qlistviewScheduled->saveLayout(TDEGlobal::config(), "Schedule View Settings");
}
-void KScheduledView::slotListViewContextMenu(KListView* /* view */, TQListViewItem *item, const TQPoint& /* pos */)
+void KScheduledView::slotListViewContextMenu(TDEListView* /* view */, TQListViewItem *item, const TQPoint& /* pos */)
{
KScheduledListItem *scheduleItem = dynamic_cast<KScheduledListItem *>(item);
if (scheduleItem)