diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:01:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:01:10 -0600 |
commit | a6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch) | |
tree | 59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/views/kreportsview.h | |
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/kreportsview.h')
-rwxr-xr-x | kmymoney2/views/kreportsview.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/views/kreportsview.h b/kmymoney2/views/kreportsview.h index 7f199d1..fb72e5c 100755 --- a/kmymoney2/views/kreportsview.h +++ b/kmymoney2/views/kreportsview.h @@ -127,20 +127,20 @@ public: * @author Ace Jones */ - class KReportListItem: public KListViewItem + class KReportListItem: public TDEListViewItem { private: TQString m_id; MyMoneyReport m_report; public: - KReportListItem( KListView* parent, const MyMoneyReport& report ): - KListViewItem( parent, report.name(), report.comment() ), + KReportListItem( TDEListView* parent, const MyMoneyReport& report ): + TDEListViewItem( parent, report.name(), report.comment() ), m_id( report.id() ), m_report( report ) {} - KReportListItem( KListViewItem* parent, const MyMoneyReport& report ): - KListViewItem( parent, report.name(), report.comment() ), + KReportListItem( TDEListViewItem* parent, const MyMoneyReport& report ): + TDEListViewItem( parent, report.name(), report.comment() ), m_id( report.id() ), m_report( report ) {} @@ -148,14 +148,14 @@ public: const MyMoneyReport& report(void) const { return m_report; } }; - class KReportGroupListItem: public KListViewItem + class KReportGroupListItem: public TDEListViewItem { private: int m_nr; TQString m_name; public: - KReportGroupListItem( KListView* parent,const int nr,const TQString name); + KReportGroupListItem( TDEListView* parent,const int nr,const TQString name); virtual TQString key ( int column, bool ascending ) const; void setNr(const int nr); }; @@ -186,7 +186,7 @@ private: /// \internal d-pointer instance. Private* const d; KTabWidget* m_reportTabWidget; - KListView* m_reportListView; + TDEListView* m_reportListView; TQWidget* m_listTab; TQVBoxLayout* m_listTabLayout; bool m_needReload; @@ -242,7 +242,7 @@ public slots: void slotClose(TQWidget*); void slotCloseAll(void); void slotDelete(void); - void slotListContextMenu(KListView*,TQListViewItem*,const TQPoint &); + void slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &); void slotOpenFromList(void); void slotConfigureFromList(void); void slotNewFromList(void); |