]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebarpage.cpp
EBN fixes + minor coding guideline fixes (thanks to Max Blazejak!).
[dolphin.git] / src / sidebarpage.cpp
index 5b0e68f288a2fd7ca788b7b4b9eefced76097bd9..cb0e516e7d4708e6f4943f5ad577648ab78eb963 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  *
@@ -18,7 +19,7 @@
  ***************************************************************************/
 
 #include "sidebarpage.h"
-#include <QWidget>
+#include <QtGui/QWidget>
 #include <kfileitem.h>
 #include <kurl.h>
 
@@ -33,6 +34,16 @@ SidebarPage::~SidebarPage()
 {
 }
 
+const KUrl& SidebarPage::url() const
+{
+    return m_url;
+}
+
+const KFileItemList& SidebarPage::selection() const
+{
+    return m_currentSelection;
+}
+
 void SidebarPage::setUrl(const KUrl& url)
 {
     m_url = url;