From aea627236e4de24599c3e30617cf264c3c1b7d40 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:02:43 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kpresenter/KPrSideBar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpresenter/KPrSideBar.h') diff --git a/kpresenter/KPrSideBar.h b/kpresenter/KPrSideBar.h index 161ae88b..542e8c39 100644 --- a/kpresenter/KPrSideBar.h +++ b/kpresenter/KPrSideBar.h @@ -100,7 +100,7 @@ private: int m_offsetY; }; -class KPrOutline: public KListView, public KPrSideBarBase +class KPrOutline: public TDEListView, public KPrSideBarBase { Q_OBJECT @@ -109,7 +109,7 @@ public: KPrOutline( TQWidget *parent, KPrDocument *d, KPrView *v ); ~KPrOutline(); void setCurrentPage( int pg ); - TQSize sizeHint() const { return TQSize( 145, KListView::sizeHint().height() ); } + TQSize sizeHint() const { return TQSize( 145, TDEListView::sizeHint().height() ); } void updateItem( int pagenr, bool sticky = false); void addItem( int pos ); void moveItem( int oldPos, int newPos ); @@ -136,7 +136,7 @@ private slots: void itemClicked( TQListViewItem *i ); void slotDropped( TQDropEvent *e, TQListViewItem *parent, TQListViewItem *target ); void rightButtonPressed( TQListViewItem *i, const TQPoint &pnt, int c ); - void slotContextMenu( KListView*, TQListViewItem *item, const TQPoint &p ); + void slotContextMenu( TDEListView*, TQListViewItem *item, const TQPoint &p ); private: TQListViewItem *m_movedItem, *m_movedAfter; -- cgit v1.2.1