]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebarpage.cpp
use a smaller step size when using the scroll wheel
[dolphin.git] / src / sidebarpage.cpp
index 5b0e68f288a2fd7ca788b7b4b9eefced76097bd9..594f59f24bcad6df0d01b407d0a43aef4b8a330e 100644 (file)
@@ -1,5 +1,6 @@
 /***************************************************************************
  *   Copyright (C) 2006 by Cvetoslav Ludmiloff <ludmiloff@gmail.com>       *
+ *   Copyright (C) 2006 by Peter Penz <peter.penz@gmx.at>                  *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  ***************************************************************************/
 
 #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_url(KUrl())
 {
 }
 
@@ -33,14 +33,14 @@ SidebarPage::~SidebarPage()
 {
 }
 
-void SidebarPage::setUrl(const KUrl& url)
+const KUrl& SidebarPage::url() const
 {
-    m_url = url;
+    return m_url;
 }
 
-void SidebarPage::setSelection(const KFileItemList& selection)
+void SidebarPage::setUrl(const KUrl& url)
 {
-    m_currentSelection = selection;
+    m_url = url;
 }
 
 #include "sidebarpage.moc"