summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 90e819707..07e444683 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -190,6 +190,7 @@ private:
void saveSplitterSizes();
QString lastUsedDir();
void updateLastUsedDir(const QString &s);
+ void registerApplicationState(const QByteArray& state, QWidget *topLeft, QWidget *bottomLeft, QWidget *topRight, QWidget *bottomRight);
bool filesAsArguments;
UpdateManager *updateManager;
@@ -201,6 +202,8 @@ private:
QList<QAction *> profileToolbarActions;
struct WidgetForBorder {
+ WidgetForBorder(QWidget *tl, QWidget *bl, QWidget *tr, QWidget *br) :
+ topLeft(tl), bottomLeft(bl), topRight(tr), bottomRight(br) {}
QWidget *topLeft;
QWidget *bottomLeft;
QWidget *topRight;