summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvdraglist.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/ksvdraglist.h')
-rw-r--r--ksysv/ksvdraglist.h18
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;