Changeset View
Changeset View
Standalone View
Standalone View
src/dolphinviewcontainer.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
113 | /** | 113 | /** | ||
114 | * Refreshes the view container to get synchronized with the (updated) Dolphin settings. | 114 | * Refreshes the view container to get synchronized with the (updated) Dolphin settings. | ||
115 | */ | 115 | */ | ||
116 | void readSettings(); | 116 | void readSettings(); | ||
117 | 117 | | |||
118 | /** Returns true, if the filter bar is visible. */ | 118 | /** Returns true, if the filter bar is visible. */ | ||
119 | bool isFilterBarVisible() const; | 119 | bool isFilterBarVisible() const; | ||
120 | 120 | | |||
121 | /** | 121 | | ||
122 | * Enables the search mode, if \p enabled is true. In the search mode the URL navigator | 122 | /** Returns true if the search mode is enabled. */ | ||
123 | * will be hidden and replaced by a line editor that allows to enter a search term. | | |||
124 | */ | | |||
125 | void setSearchModeEnabled(bool enabled); | | |||
126 | bool isSearchModeEnabled() const; | 123 | bool isSearchModeEnabled() const; | ||
127 | 124 | | |||
128 | /** | 125 | /** | ||
129 | * @return Text that should be used for the current URL when creating | 126 | * @return Text that should be used for the current URL when creating | ||
130 | * a new place. | 127 | * a new place. | ||
131 | */ | 128 | */ | ||
132 | QString placesText() const; | 129 | QString placesText() const; | ||
133 | 130 | | |||
Show All 21 Lines | 143 | public slots: | |||
155 | 152 | | |||
156 | /** | 153 | /** | ||
157 | * Popups the filter bar above the status bar if \a visible is true. | 154 | * Popups the filter bar above the status bar if \a visible is true. | ||
158 | * It \a visible is true, it is assured that the filter bar gains | 155 | * It \a visible is true, it is assured that the filter bar gains | ||
159 | * the keyboard focus. | 156 | * the keyboard focus. | ||
160 | */ | 157 | */ | ||
161 | void setFilterBarVisible(bool visible); | 158 | void setFilterBarVisible(bool visible); | ||
162 | 159 | | |||
160 | /** | ||||
161 | * Enables the search mode, if \p enabled is true. In the search mode the URL navigator | ||||
162 | * will be hidden and replaced by a line editor that allows to enter a search term. | ||||
163 | */ | ||||
164 | void setSearchModeEnabled(bool enabled); | ||||
165 | | ||||
163 | signals: | 166 | signals: | ||
164 | /** | 167 | /** | ||
165 | * Is emitted whenever the filter bar has changed its visibility state. | 168 | * Is emitted whenever the filter bar has changed its visibility state. | ||
166 | */ | 169 | */ | ||
167 | void showFilterBarChanged(bool shown); | 170 | void showFilterBarChanged(bool shown); | ||
171 | /** | ||||
172 | * Is emitted whenever the search mode has changed its state. | ||||
173 | */ | ||||
174 | void searchModeEnabledChanged(bool enabled); | ||||
168 | 175 | | |||
169 | /** | 176 | /** | ||
170 | * Is emitted when the write state of the folder has been changed. The application | 177 | * Is emitted when the write state of the folder has been changed. The application | ||
171 | * should disable all actions like "Create New..." that depend on the write | 178 | * should disable all actions like "Create New..." that depend on the write | ||
172 | * state. | 179 | * state. | ||
173 | */ | 180 | */ | ||
174 | void writeStateChanged(bool isFolderWritable); | 181 | void writeStateChanged(bool isFolderWritable); | ||
175 | 182 | | |||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |