Changeset View
Changeset View
Standalone View
Standalone View
src/dolphinmainwindow.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 61 | public: | |||
---|---|---|---|---|---|
66 | * Returns the currently active view. | 66 | * Returns the currently active view. | ||
67 | * All menu actions are applied to this view. When | 67 | * All menu actions are applied to this view. When | ||
68 | * having a split view setup, the nonactive view | 68 | * having a split view setup, the nonactive view | ||
69 | * is usually shown in darker colors. | 69 | * is usually shown in darker colors. | ||
70 | */ | 70 | */ | ||
71 | DolphinViewContainer* activeViewContainer() const; | 71 | DolphinViewContainer* activeViewContainer() const; | ||
72 | 72 | | |||
73 | /** | 73 | /** | ||
74 | * Returns the 'Create New...' sub menu which also can be shared | ||||
75 | * with other menus (e. g. a context menu). | ||||
76 | */ | ||||
77 | KNewFileMenu* newFileMenu() const; | ||||
78 | | ||||
79 | void setTabsToHomeIfMountPathOpen(const QString& mountPath); | ||||
80 | | ||||
81 | public slots: | ||||
82 | /** | ||||
74 | * Opens each directory in \p dirs in a separate tab. If \a splitView is set, | 83 | * Opens each directory in \p dirs in a separate tab. If \a splitView is set, | ||
75 | * 2 directories are collected within one tab. | 84 | * 2 directories are collected within one tab. | ||
76 | * \pre \a dirs must contain at least one url. | 85 | * \pre \a dirs must contain at least one url. | ||
77 | */ | 86 | */ | ||
78 | void openDirectories(const QList<QUrl> &dirs, bool splitView); | 87 | void openDirectories(const QStringList &dirs, bool splitView); | ||
79 | 88 | | |||
80 | /** | 89 | /** | ||
81 | * Opens the directories which contain the files \p files and selects all files. | 90 | * Opens the directories which contain the files \p files and selects all files. | ||
82 | * If \a splitView is set, 2 directories are collected within one tab. | 91 | * If \a splitView is set, 2 directories are collected within one tab. | ||
83 | * \pre \a files must contain at least one url. | 92 | * \pre \a files must contain at least one url. | ||
84 | */ | 93 | */ | ||
85 | void openFiles(const QList<QUrl>& files, bool splitView); | 94 | void openFiles(const QStringList &files, bool splitView); | ||
86 | 95 | | |||
87 | /** | 96 | /** | ||
elvisangelaccio: Unrelated style change, please move it to another commit. | |||||
88 | * Returns the 'Create New...' sub menu which also can be shared | 97 | * Tries to raise/activate the Dolphin window. | ||
89 | * with other menus (e. g. a context menu). | | |||
90 | */ | 98 | */ | ||
elvisangelaccio: Accidental comment change? | |||||
91 | KNewFileMenu* newFileMenu() const; | 99 | void tryRaise(); | ||
92 | 100 | | |||
93 | void setTabsToHomeIfMountPathOpen(const QString& mountPath); | | |||
94 | | ||||
95 | public slots: | | |||
96 | /** | 101 | /** | ||
97 | * Pastes the clipboard data into the currently selected folder | 102 | * Pastes the clipboard data into the currently selected folder | ||
98 | * of the active view. If not exactly one folder is selected, | 103 | * of the active view. If not exactly one folder is selected, | ||
99 | * no pasting is done at all. | 104 | * no pasting is done at all. | ||
100 | */ | 105 | */ | ||
101 | void pasteIntoFolder(); | 106 | void pasteIntoFolder(); | ||
102 | 107 | | |||
103 | /** | 108 | /** | ||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |
Unrelated style change, please move it to another commit.