┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/sidebarpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sidebarpage.cpp')
-rw-r--r--src/sidebarpage.cpp23
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)
{