diff options
| author | Peter Penz <[email protected]> | 2009-12-17 21:07:18 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-12-17 21:07:18 +0000 |
| commit | e15a9f3a8da1907b26195a1833588fc86a9d50ca (patch) | |
| tree | e140f643669f97e4e51ddbbe4c547e2b2a429e8e /src/dolphinmainwindow.h | |
| parent | d613313b064ce75b2537f3d0cf08b563ed915574 (diff) | |
* respect the --select startup option
* minor cleanups related to selecting items in general
svn path=/trunk/KDE/kdebase/apps/; revision=1063329
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 0b4f90d19..cfdc21618 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -74,6 +74,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<KUrl>& dirs); + + /** + * Opens the directory which contains the files \p files + * and selects all files (implements the --select option + * of Dolphin). + */ + void openFiles(const QList<KUrl>& files); + + /** * Returns true, if the main window contains two instances * of a view container. The active view constainer can be * accessed by DolphinMainWindow::activeViewContainer(). @@ -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(); |
