┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index b0ab6ab6a..19813f0e1 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -509,6 +509,13 @@ public Q_SLOTS:
*/
void updateViewState();
+ /**
+ * Whether or not the current has the default settings
+ */
+ bool isViewSettingsDefaults() const;
+
+ void restoreViewSettingsToDefaults();
+
Q_SIGNALS:
/**
* Is emitted if the view has been activated by e. g. a mouse click.
@@ -751,6 +758,8 @@ Q_SIGNALS:
*/
void doubleClickViewBackground(Qt::MouseButton button);
+ void viewSettingsChanged(bool isDefault);
+
protected:
/** Changes the zoom level if Control is pressed during a wheel event. */
void wheelEvent(QWheelEvent *event) override;