diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kpresenter/KPrSideBar.h | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpresenter/KPrSideBar.h')
-rw-r--r-- | kpresenter/KPrSideBar.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |