┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/sidebarpage.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2007-08-13 21:57:20 +0000
committerDavid Faure <[email protected]>2007-08-13 21:57:20 +0000
commit81fcd720a2cc095262e52b8a40dd1472d774a415 (patch)
treea98ca305384c3e8ed8d4c49a4bff746fdc3dde2d /src/sidebarpage.h
parent1f5476dd45efa74d847b041bb03f64f4d4a8c9c4 (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.h')
-rw-r--r--src/sidebarpage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sidebarpage.h b/src/sidebarpage.h
index 697e8de58..90f0194d3 100644
--- a/src/sidebarpage.h
+++ b/src/sidebarpage.h
@@ -39,7 +39,7 @@ public:
const KUrl& url() const;
/** Returns the current selected items of the active Dolphin view. */
- const KFileItemList& selection() const;
+ const QList<KFileItem>& selection() const;
public slots:
/**
@@ -52,7 +52,7 @@ public slots:
* This is invoked to inform the sidebar that the user has selected a new
* set of items.
*/
- virtual void setSelection(const KFileItemList& selection);
+ virtual void setSelection(const QList<KFileItem>& selection);
signals:
/**
@@ -70,7 +70,7 @@ signals:
* e.g. the current folder. The new selection will be reported via the
* setSelection slot.
*/
- void changeSelection(const KFileItemList& selection);
+ void changeSelection(const QList<KFileItem>& selection);
/**
* This signal is emitted whenever a drop action on this widget needs the
@@ -80,7 +80,7 @@ signals:
private:
KUrl m_url;
- KFileItemList m_currentSelection;
+ QList<KFileItem> m_currentSelection;
};
#endif // _SIDEBARPAGE_H_