From a2fc277e1d117b0b78cda5b7f084245e553f36c5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 20 Nov 2007 22:36:21 +0000 Subject: Allow using a common drag and drop pixmap also for the KCategorizedView. The code is currently encapsulated inside a DOLPHIN_DRAGANDDROP define, we'll clean this up when Qt 4.4 is out (-> KDE 4.1?) CCMAIL: ereslibre@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=739375 --- src/kcategorizedview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kcategorizedview.h') diff --git a/src/kcategorizedview.h b/src/kcategorizedview.h index 8544392d9..e2bc61d87 100644 --- a/src/kcategorizedview.h +++ b/src/kcategorizedview.h @@ -85,6 +85,8 @@ protected: virtual void dragLeaveEvent(QDragLeaveEvent *event); + virtual void dropEvent(QDropEvent *event); + virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); -- cgit v1.3