X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/c8a4f1fd8d3c9b50e51b7234123b3fbe0b979552..ec00f379dc42b00a64ab1af25bb4bb1a06bd7449:/src/sidebarpage.cpp diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index c6c120f0e..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,25 +19,37 @@ ***************************************************************************/ #include "sidebarpage.h" -#include +#include #include #include SidebarPage::SidebarPage(QWidget* parent) : - QWidget(parent), - m_url(KUrl()), - m_currentSelection(KFileItemList()) -{} + QWidget(parent), + m_url(KUrl()), + m_currentSelection() +{ +} 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; }