]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebarpage.cpp
selection model fixes
[dolphin.git] / src / sidebarpage.cpp
index 479bfcad0e9164f0b3a5f2fa286c3b450217fa5e..1543c8c78f64c9b335a009db723a74f3b6f2e676 100644 (file)
  ***************************************************************************/
 
 #include "sidebarpage.h"
-#include <QWidget>
+#include <QtGui/QWidget>
 #include <kfileitem.h>
 #include <kurl.h>
 
 SidebarPage::SidebarPage(QWidget* parent) :
     QWidget(parent),
     m_url(KUrl()),
-    m_currentSelection(KFileItemList())
+    m_currentSelection()
 {
 }
 
@@ -39,7 +39,7 @@ const KUrl& SidebarPage::url() const
     return m_url;
 }
 
-const KFileItemList& SidebarPage::selection() const
+const QList<KFileItem>& SidebarPage::selection() const
 {
     return m_currentSelection;
 }
@@ -49,7 +49,7 @@ void SidebarPage::setUrl(const KUrl& url)
     m_url = url;
 }
 
-void SidebarPage::setSelection(const KFileItemList& selection)
+void SidebarPage::setSelection(const QList<KFileItem>& selection)
 {
     m_currentSelection = selection;
 }