diff options
| author | Peter Penz <[email protected]> | 2007-05-06 17:25:50 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-06 17:25:50 +0000 |
| commit | bafaf9496cc439c461e249057e5d913e9aa734fc (patch) | |
| tree | 42f5ed9757afa0e4d67906bac745cd54d4bdb329 /src/sidebarpage.cpp | |
| parent | 5f87a8130e25a06c30b516ef23f936c1ab657c1c (diff) | |
some cleanups for the sidebar pages (move protected members to private section etc.)
svn path=/trunk/KDE/kdebase/apps/; revision=661815
Diffstat (limited to 'src/sidebarpage.cpp')
| -rw-r--r-- | src/sidebarpage.cpp | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index c6c120f0e..479bfcad0 100644 --- a/src/sidebarpage.cpp +++ b/src/sidebarpage.cpp @@ -1,5 +1,6 @@ /*************************************************************************** * Copyright (C) 2006 by Cvetoslav Ludmiloff <[email protected]> * + * Copyright (C) 2006 by Peter Penz <[email protected]> * * * * 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 * @@ -23,13 +24,25 @@ #include <kurl.h> SidebarPage::SidebarPage(QWidget* parent) : - QWidget(parent), - m_url(KUrl()), - m_currentSelection(KFileItemList()) -{} + QWidget(parent), + m_url(KUrl()), + m_currentSelection(KFileItemList()) +{ +} SidebarPage::~SidebarPage() -{} +{ +} + +const KUrl& SidebarPage::url() const +{ + return m_url; +} + +const KFileItemList& SidebarPage::selection() const +{ + return m_currentSelection; +} void SidebarPage::setUrl(const KUrl& url) { |
