diff options
| author | David Faure <[email protected]> | 2007-08-13 21:57:20 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2007-08-13 21:57:20 +0000 |
| commit | 81fcd720a2cc095262e52b8a40dd1472d774a415 (patch) | |
| tree | a98ca305384c3e8ed8d4c49a4bff746fdc3dde2d /src/sidebarpage.cpp | |
| parent | 1f5476dd45efa74d847b041bb03f64f4d4a8c9c4 (diff) | |
Use KFileItem by value rather than by pointer
- in KDirModel::itemForIndex, as noted there as a TODO
- in dolphin, everywhere.
svn path=/trunk/KDE/kdebase/apps/; revision=699691
Diffstat (limited to 'src/sidebarpage.cpp')
| -rw-r--r-- | src/sidebarpage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index cb0e516e7..1543c8c78 100644 --- a/src/sidebarpage.cpp +++ b/src/sidebarpage.cpp @@ -26,7 +26,7 @@ SidebarPage::SidebarPage(QWidget* parent) : QWidget(parent), m_url(KUrl()), - m_currentSelection(KFileItemList()) + m_currentSelection() { } @@ -39,7 +39,7 @@ const KUrl& SidebarPage::url() const return m_url; } -const KFileItemList& SidebarPage::selection() const +const QList<KFileItem>& SidebarPage::selection() const { return m_currentSelection; } @@ -49,7 +49,7 @@ void SidebarPage::setUrl(const KUrl& url) m_url = url; } -void SidebarPage::setSelection(const KFileItemList& selection) +void SidebarPage::setSelection(const QList<KFileItem>& selection) { m_currentSelection = selection; } |
