┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.cpp
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-07-09 18:08:20 +0000
committerRafael Fernández López <[email protected]>2007-07-09 18:08:20 +0000
commit23b91d0c36d4d8a6726b243276cb7b4fc2169386 (patch)
treeacc6152af3bd610cc66bd5269f54fd41b105c142 /src/dolphiniconsview.cpp
parent50d9e030e7855080c037b826f06433495972f503 (diff)
Rename KListView to KCategorizedView as decided
svn path=/trunk/KDE/kdebase/apps/; revision=685767
Diffstat (limited to 'src/dolphiniconsview.cpp')
-rw-r--r--src/dolphiniconsview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp
index 968d7c94c..237a319c8 100644
--- a/src/dolphiniconsview.cpp
+++ b/src/dolphiniconsview.cpp
@@ -33,7 +33,7 @@
#include <QPoint>
DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controller) :
- KListView(parent),
+ KCategorizedView(parent),
m_controller(controller),
m_dragging(false)
{
@@ -68,7 +68,7 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controlle
const IconsModeSettings* settings = DolphinSettings::instance().iconsModeSettings();
Q_ASSERT(settings != 0);
- m_viewOptions = KListView::viewOptions();
+ m_viewOptions = KCategorizedView::viewOptions();
m_viewOptions.showDecorationSelected = true;
QFont font(settings->fontFamily(), settings->fontSize());
@@ -100,7 +100,7 @@ QStyleOptionViewItem DolphinIconsView::viewOptions() const
void DolphinIconsView::contextMenuEvent(QContextMenuEvent* event)
{
- KListView::contextMenuEvent(event);
+ KCategorizedView::contextMenuEvent(event);
m_controller->triggerContextMenuRequest(event->pos());
}
@@ -114,7 +114,7 @@ void DolphinIconsView::mousePressEvent(QMouseEvent* event)
}
}
- KListView::mousePressEvent(event);
+ KCategorizedView::mousePressEvent(event);
}
void DolphinIconsView::dragEnterEvent(QDragEnterEvent* event)
@@ -127,7 +127,7 @@ void DolphinIconsView::dragEnterEvent(QDragEnterEvent* event)
void DolphinIconsView::dragLeaveEvent(QDragLeaveEvent* event)
{
- KListView::dragLeaveEvent(event);
+ KCategorizedView::dragLeaveEvent(event);
// TODO: remove this code when the issue #160611 is solved in Qt 4.4
m_dragging = false;
@@ -136,7 +136,7 @@ void DolphinIconsView::dragLeaveEvent(QDragLeaveEvent* event)
void DolphinIconsView::dragMoveEvent(QDragMoveEvent* event)
{
- KListView::dragMoveEvent(event);
+ KCategorizedView::dragMoveEvent(event);
// TODO: remove this code when the issue #160611 is solved in Qt 4.4
const QModelIndex index = indexAt(event->pos());
@@ -156,13 +156,13 @@ void DolphinIconsView::dropEvent(QDropEvent* event)
event->acceptProposedAction();
}
}
- KListView::dropEvent(event);
+ KCategorizedView::dropEvent(event);
m_dragging = false;
}
void DolphinIconsView::paintEvent(QPaintEvent* event)
{
- KListView::paintEvent(event);
+ KCategorizedView::paintEvent(event);
// TODO: remove this code when the issue #160611 is solved in Qt 4.4
if (m_dragging) {