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