From a6000c6f2f1a03b34f15d1948f63f0c894f09451 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:01:10 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kmymoney2/views/kreportsview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmymoney2/views/kreportsview.cpp') diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp index 95eb991..6733e73 100755 --- a/kmymoney2/views/kreportsview.cpp +++ b/kmymoney2/views/kreportsview.cpp @@ -322,7 +322,7 @@ KReportsView::KReportsView(TQWidget *parent, const char *name ) : m_listTab = (new TQWidget( m_reportTabWidget, "indextab" )); m_listTabLayout = ( new TQVBoxLayout( m_listTab, 11, 6, "indextabLayout") ); - m_reportListView = new KListView( m_listTab, "m_reportListView" ); + m_reportListView = new TDEListView( m_listTab, "m_reportListView" ); m_listTabLayout->addWidget( m_reportListView ); m_reportTabWidget->insertTab( m_listTab, i18n("Reports") ); @@ -339,8 +339,8 @@ KReportsView::KReportsView(TQWidget *parent, const char *name ) : this, TQT_SLOT(slotOpenReport(TQListViewItem*))); connect(m_reportListView, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(slotOpenReport(TQListViewItem*))); - connect( m_reportListView, TQT_SIGNAL(contextMenu(KListView*,TQListViewItem*,const TQPoint &)), - this, TQT_SLOT(slotListContextMenu(KListView*,TQListViewItem*,const TQPoint &))); + connect( m_reportListView, TQT_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint &)), + this, TQT_SLOT(slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &))); connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView())); } @@ -381,11 +381,11 @@ TQString KReportsView::KReportGroupListItem::key ( int column, bool ascending ) if (column == 0) return TQString::number(m_nr).rightJustify(3,'0'); else - return KListViewItem::key(column,ascending); + return TDEListViewItem::key(column,ascending); } -KReportsView::KReportGroupListItem::KReportGroupListItem(KListView* parent, const int nr, TQString name) : - KListViewItem(parent), +KReportsView::KReportGroupListItem::KReportGroupListItem(TDEListView* parent, const int nr, TQString name) : + TDEListViewItem(parent), m_name(name) { setNr(nr); @@ -875,7 +875,7 @@ void KReportsView::addReportTab(const MyMoneyReport& report) } -void KReportsView::slotListContextMenu(KListView* lv,TQListViewItem* item,const TQPoint & p) +void KReportsView::slotListContextMenu(TDEListView* lv,TQListViewItem* item,const TQPoint & p) { if ( lv == m_reportListView && item ) { -- cgit v1.2.1