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