aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-02-09 17:10:08 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 10:45:45 -0800
commit57e938d040d290f055f6b9551f390717d53a779d (patch)
tree2485cf5efbc7b1be46969d2f1bf2c9f1bfb0db84 /qt-ui/mainwindow.h
parent93198a80986da2179088125e376691dd99da6dcc (diff)
downloadsubsurface-57e938d040d290f055f6b9551f390717d53a779d.tar.gz
Create the method that changes the state of the application
Not used yet. The idea is to call 'setApplicationState("plan");' and all widgegts for plan will be magically setup because we added the plan state with registerApplicationState. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index bf75bf9d9..6179a9732 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -83,6 +83,7 @@ public:
void setPlanNotes(const char *notes);
void printPlan();
void checkSurvey(QSettings *s);
+ void setApplicationState(const QByteArray& state);
UndoBuffer *undoBuffer;
private
slots: