const KUrl& url() const;
/** Returns the current selected items of the active Dolphin view. */
- const QList<KFileItem>& selection() const;
+ const KFileItemList& selection() const;
public slots:
/**
* This is invoked to inform the sidebar that the user has selected a new
* set of items.
*/
- virtual void setSelection(const QList<KFileItem>& selection);
+ virtual void setSelection(const KFileItemList& selection);
signals:
/**
* e.g. the current folder. The new selection will be reported via the
* setSelection slot.
*/
- void changeSelection(const QList<KFileItem>& selection);
+ void changeSelection(const KFileItemList& selection);
/**
* This signal is emitted whenever a drop action on this widget needs the
private:
KUrl m_url;
- QList<KFileItem> m_currentSelection;
+ KFileItemList m_currentSelection;
};
#endif // _SIDEBARPAGE_H_