X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8f9baef848c3056cd1df772f0774decad509cff3..148282e2d856b47ceb191eeef4c834118c8cdffd:/src/sidebarpage.cpp diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index 5b0e68f28..594f59f24 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,13 @@ ***************************************************************************/ #include "sidebarpage.h" -#include +#include #include #include 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"