X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8f9baef848c3056cd1df772f0774decad509cff3..c2d9d9becaf4267f03685e70233c1335f22d1c0d:/src/sidebarpage.cpp diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index 5b0e68f28..889dc48c4 100644 --- a/src/sidebarpage.cpp +++ b/src/sidebarpage.cpp @@ -1,5 +1,6 @@ /*************************************************************************** * Copyright (C) 2006 by Cvetoslav Ludmiloff * + * Copyright (C) 2006 by Peter Penz * * * * 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,14 +19,14 @@ ***************************************************************************/ #include "sidebarpage.h" -#include +#include #include #include SidebarPage::SidebarPage(QWidget* parent) : QWidget(parent), m_url(KUrl()), - m_currentSelection(KFileItemList()) + m_currentSelection() { } @@ -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;