summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvdraglist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:10:12 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:10:12 -0600
commit189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e (patch)
tree52d62ad83db1551dd15dc147b4af4cacaae6e850 /ksysv/ksvdraglist.cpp
parent58cb2c2c17b1e6dd48cbfbcb69ec2f50f1ced9ee (diff)
downloadtdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.tar.gz
tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksysv/ksvdraglist.cpp')
-rw-r--r--ksysv/ksvdraglist.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksysv/ksvdraglist.cpp b/ksysv/ksvdraglist.cpp
index 65a1b3e..3edaaf0 100644
--- a/ksysv/ksvdraglist.cpp
+++ b/ksysv/ksvdraglist.cpp
@@ -57,7 +57,7 @@
#include "ksvdrag.h"
#include "ActionList.h"
-KSVItem::KSVItem (KListView* view)
+KSVItem::KSVItem (TDEListView* view)
: TQListViewItem (view),
mData (new KSVData()),
mConfig (KSVConfig::self()),
@@ -110,7 +110,7 @@ TQString KSVItem::key (int, bool) const
return mData->numberString() + mData->label();
}
-KSVItem::KSVItem (KListView* view, TQString file, TQString path, TQString label, TQ_INT8 nr )
+KSVItem::KSVItem (TDEListView* view, TQString file, TQString path, TQString label, TQ_INT8 nr )
: TQListViewItem (view),
mData (new KSVData (file, path, label, nr)),
mConfig (KSVConfig::self()),
@@ -310,11 +310,11 @@ void KSVItem::setOriginalRunlevel (const TQString& rl)
//-----------------------
KSVDragList::KSVDragList ( TQWidget* parent, const char* name )
- : KListView (parent, name),
+ : TDEListView (parent, name),
mItemToDrag (0L),
- mDragMenu (new KPopupMenu (this)),
- mDragCopyMenu (new KPopupMenu (this)),
- mDragMoveMenu (new KPopupMenu (this)),
+ mDragMenu (new TDEPopupMenu (this)),
+ mDragCopyMenu (new TDEPopupMenu (this)),
+ mDragMoveMenu (new TDEPopupMenu (this)),
mDisplayToolTips (true),
mCommonToolTips (true)
{
@@ -400,7 +400,7 @@ void KSVDragList::setDefaultIcon (const TQPixmap& icon)
void KSVDragList::clear ()
{
- KListView::clear();
+ TDEListView::clear();
clearRMList();
}
@@ -558,7 +558,7 @@ bool KSVDragList::acceptDrag (TQDropEvent* e) const
void KSVDragList::focusInEvent (TQFocusEvent* e)
{
- KListView::focusInEvent(e);
+ TDEListView::focusInEvent(e);
if (!currentItem())
setCurrentItem (firstChild());