- * 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().
- */
- bool isSplit() const;
-
- /**
- * If the main window contains two instances of a view container
- * (DolphinMainWindow::isSplit() returns true), then the
- * two views get toggled (the right view is on the left, the left
- * view on the right).
+ * Opens each directory in \p dirs in a separate tab. If \a splitView is set,
+ * 2 directories are collected within one tab.
+ * \pre \a dirs must contain at least one url.