X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8f9baef848c3056cd1df772f0774decad509cff3..093efca22dfd247f06e2a669ad968300e71ef08d:/src/sidebarpage.cpp diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index 5b0e68f28..1543c8c78 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,12 +34,22 @@ SidebarPage::~SidebarPage() { } +const KUrl& SidebarPage::url() const +{ + return m_url; +} + +const QList& SidebarPage::selection() const +{ + return m_currentSelection; +} + void SidebarPage::setUrl(const KUrl& url) { m_url = url; } -void SidebarPage::setSelection(const KFileItemList& selection) +void SidebarPage::setSelection(const QList& selection) { m_currentSelection = selection; }