#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
signals:
/**
- * Is emitted if the URLs \a urls have been dropped to
+ * Is emitted if the URL have been dropped to
* the index \a index.
*/
- void urlsDropped(const KUrl::List& urls,
- const QModelIndex& index);
+ void urlsDropped(const QModelIndex& index, QDropEvent* event);
protected:
virtual bool event(QEvent* event);