diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:12 -0600 |
commit | 189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e (patch) | |
tree | 52d62ad83db1551dd15dc147b4af4cacaae6e850 /ksysv/ksvdraglist.h | |
parent | 58cb2c2c17b1e6dd48cbfbcb69ec2f50f1ced9ee (diff) | |
download | tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.tar.gz tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksysv/ksvdraglist.h')
-rw-r--r-- | ksysv/ksvdraglist.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ksysv/ksvdraglist.h b/ksysv/ksvdraglist.h index 76ef598..c086f02 100644 --- a/ksysv/ksvdraglist.h +++ b/ksysv/ksvdraglist.h @@ -46,7 +46,7 @@ class TQPen; class KSVAction; class SimpleAction; class KSVDragList; -class KPopupMenu; +class TDEPopupMenu; class KSVConfig; class KDLToolTip; @@ -64,10 +64,10 @@ public: Last } Columns; - KSVItem (KListView*); + KSVItem (TDEListView*); KSVItem (const KSVItem&); explicit KSVItem (KSVDragList*, const KSVData&); - KSVItem (KListView* view, TQString file, TQString path, TQString label, TQ_INT8 nr ); + KSVItem (TDEListView* view, TQString file, TQString path, TQString label, TQ_INT8 nr ); virtual ~KSVItem (); virtual TQString key (int col, bool ascending) const; @@ -149,7 +149,7 @@ private: TQColor mChangedSelectedColor; }; -class KSVDragList : public KListView +class KSVDragList : public TDEListView { Q_OBJECT @@ -175,9 +175,9 @@ public: */ inline bool isOrigin() const { return mOrigin; } - inline KSVItem* currentItem() { return static_cast<KSVItem*> (KListView::currentItem()); } + inline KSVItem* currentItem() { return static_cast<KSVItem*> (TDEListView::currentItem()); } - inline KSVItem* lastItem () { return static_cast<KSVItem*> (KListView::lastItem()); } + inline KSVItem* lastItem () { return static_cast<KSVItem*> (TDEListView::lastItem()); } /** * @return true if the insertion was successful. @@ -248,9 +248,9 @@ private: TQColor mChangedNormalColor; TQColor mChangedSelectedColor; - KPopupMenu* mDragMenu; - KPopupMenu* mDragCopyMenu; - KPopupMenu* mDragMoveMenu; + TDEPopupMenu* mDragMenu; + TDEPopupMenu* mDragCopyMenu; + TDEPopupMenu* mDragMoveMenu; KDLToolTip* toolTip; typedef enum { Copy, Move } DragAction; |