From 57e938d040d290f055f6b9551f390717d53a779d Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 9 Feb 2015 17:10:08 -0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.h') 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: -- cgit v1.2.3-70-g09d2