]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebartreeview.h
Fix for show_filter_bar action of tools-menu, which is not correctly set (when the...
[dolphin.git] / src / sidebartreeview.h
index b2e42e24fbb80c058de8303301397c84e7258a54..f692be3a2cf1bbc7be0815a7d3cc84abbfb50175 100644 (file)
 #define SIDEBARTREEVIEW_H
 
 #include <kurl.h>
-#include <QtGui/QTreeView>
+#include <ktreeview.h>
 
 /**
  * @brief Tree view widget which is used for the sidebar panel.
  *
  * @see TreeViewSidebarPage
  */
-class SidebarTreeView : public QTreeView
+class SidebarTreeView : public KTreeView
 {
     Q_OBJECT
 
@@ -51,11 +51,9 @@ protected:
     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
+    QRect m_dropRect;
 };
 
 #endif