From e15a9f3a8da1907b26195a1833588fc86a9d50ca Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 17 Dec 2009 21:07:18 +0000 Subject: * respect the --select startup option * minor cleanups related to selecting items in general svn path=/trunk/KDE/kdebase/apps/; revision=1063329 --- src/dolphinmainwindow.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 0b4f90d19..cfdc21618 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -73,6 +73,19 @@ public: */ DolphinViewContainer* activeViewContainer() const; + /** + * Opens each directory \p in a separate tab. If the "split view" + * option is enabled, 2 directories are collected within one tab. + */ + void openDirectories(const QList& dirs); + + /** + * Opens the directory which contains the files \p files + * and selects all files (implements the --select option + * of Dolphin). + */ + void openFiles(const QList& files); + /** * Returns true, if the main window contains two instances * of a view container. The active view constainer can be @@ -123,17 +136,12 @@ public slots: int getId() const; /** + * Implementation of the MainWindowAdaptor/QDBusAbstractAdaptor interface. * Inform all affected dolphin components (panels, views) of an URL * change. */ void changeUrl(const KUrl& url); - /** - * Inform all affected dolphin components that a selection change is - * requested. - */ - void changeSelection(const KFileItemList& selection); - /** Stores all settings and quits Dolphin. */ void quit(); -- cgit v1.3