summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kreportsview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:01:10 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:01:10 -0600
commita6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch)
tree59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/views/kreportsview.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/kreportsview.cpp')
-rwxr-xr-xkmymoney2/views/kreportsview.cpp14
1 files changed, 7 insertions, 7 deletions
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 )
{