aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.hpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-03-17 15:21:00 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-03-17 09:49:58 +0100
commit7321b9078c86d640c0df6120134d9c2a2274e4aa (patch)
treebc92d852b7c6e27746d54875c3f528f54d730893 /src/mainwindow.hpp
parentf60dac9d7ebb5b989aad67d67d5ab3ccef7d278c (diff)
downloadkristall-7321b9078c86d640c0df6120134d9c2a2274e4aa.tar.gz
sessions: restore window tab indices
Diffstat (limited to 'src/mainwindow.hpp')
-rw-r--r--src/mainwindow.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp
index 7cce992..e343033 100644
--- a/src/mainwindow.hpp
+++ b/src/mainwindow.hpp
@@ -49,6 +49,10 @@ public:
//! Applies setting changes to the window.
void applySettings();
+ //! Gets/sets the current tab of this window
+ int currentTabIndex();
+ void setCurrentTabIndex(int);
+
void mousePressEvent(QMouseEvent *event) override;
void closeEvent(QCloseEvent *event) override;