┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabwidget.h
diff options
context:
space:
mode:
authorAmol Godbole <[email protected]>2023-11-09 11:05:48 -0600
committerMéven Car <[email protected]>2024-01-14 08:34:58 +0000
commitc035e95e1d74fecd8267b08009c616232e2c16b0 (patch)
tree2b3893a51722c426db9a3acf5b85ad0c645f9be4 /src/dolphintabwidget.h
parentf15c8d9238124641b1d93a101b69e9a5651b5028 (diff)
DolphinMainWindow: autosave session
Currently, the session is saved only when the app quits normally. Save the session after a fixed time interval from the last state change i.e. anytime the url is changed, or a tab is opened or closed, or the active view is changed. BUG: 425627
Diffstat (limited to 'src/dolphintabwidget.h')
-rw-r--r--src/dolphintabwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h
index 1bdb6c9a1..22f65b634 100644
--- a/src/dolphintabwidget.h
+++ b/src/dolphintabwidget.h
@@ -111,6 +111,11 @@ Q_SIGNALS:
*/
void currentUrlChanged(const QUrl &url);
+ /**
+ * Is emitted when the url of any tab has been changed (including the current tab).
+ */
+ void urlChanged(const QUrl &url);
+
public Q_SLOTS:
/**
* Opens a new view with the current URL that is part of a tab and activates