]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebartreeview.h
use "Sort by" instead of "Sort By"
[dolphin.git] / src / sidebartreeview.h
index d12737151a08d51878611d9444452c5d15d77ec3..ba8fd74851287ce5ecf3a387b8949df65565bee9 100644 (file)
@@ -21,7 +21,7 @@
 #define SIDEBARTREEVIEW_H
 
 #include <kurl.h>
-#include <QTreeView>
+#include <QtGui/QTreeView>
 
 /**
  * @brief Tree view widget which is used for the sidebar panel.
@@ -47,8 +47,14 @@ signals:
 protected:
     virtual bool event(QEvent* event);
     virtual void dragEnterEvent(QDragEnterEvent* event);
+    virtual void dragLeaveEvent(QDragLeaveEvent* event);
+    virtual void dragMoveEvent(QDragMoveEvent* event);
     virtual void dropEvent(QDropEvent* event);
+    virtual void paintEvent(QPaintEvent* event);
 
+private:
+    bool m_dragging;   // TODO: remove this property when the issue #160611 is solved in Qt 4.4
+    QRect m_dropRect;  // TODO: remove this property when the issue #160611 is solved in Qt 4.4
 };
 
 #endif