QTfrontend/ui/page/AbstractPage.h
changeset 8384 a6e7a95f3b2e
parent 8377 869f80966a77
child 8729 b19be476a2fa
--- a/QTfrontend/ui/page/AbstractPage.h	Mon Jan 14 13:19:47 2013 +0100
+++ b/QTfrontend/ui/page/AbstractPage.h	Mon Jan 14 13:28:03 2013 +0100
@@ -78,12 +78,35 @@
         QString * getDefautDescription();
 
     signals:
+
         /**
          * @brief This signal is emitted when going back to the previous is
          * requested - e.g. when the back-button is clicked.
          */
         void goBack();
 
+        /**
+         * @brief This signal is emitted when the page is displayed
+         */
+        void pageEnter();
+
+        /**
+         * @brief This signal is emitted when this page is left
+         */
+        void pageLeave();
+
+    public slots:
+
+        /**
+         * @brief This slot is called to trigger this page's pageEnter signal
+         */
+        void triggerPageEnter();
+
+        /**
+         * @brief This slot is called to trigger this page's pageLeave signal
+         */
+        void triggerPageLeave();
+
     protected:
         /**
          * @brief Class constructor