diff options
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 049432cf8..2b8129f3d 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -52,6 +52,9 @@ class DolphinPart : public KParts::ReadOnlyPart // Used by konqueror when typing something like /home/dfaure/*.diff in the location bar Q_PROPERTY( QString nameFilter READ nameFilter WRITE setNameFilter ) + // Used by konqueror to implement the --select command-line option + Q_PROPERTY( KUrl::List filesToSelect READ filesToSelect WRITE setFilesToSelect ) + public: explicit DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantList& args); ~DolphinPart(); @@ -214,6 +217,12 @@ private Q_SLOTS: void createDirectory(); + /** + * Called by konqueror --select + */ + void setFilesToSelect(const KUrl::List& files); + KUrl::List filesToSelect() const { return KUrl::List(); } // silence moc + private: void createActions(); void createGoAction(const char* name, const char* iconName, |
