QTfrontend/ui/page/AbstractPage.cpp
changeset 8384 a6e7a95f3b2e
parent 8377 869f80966a77
child 8385 9e8924ff9813
--- a/QTfrontend/ui/page/AbstractPage.cpp	Mon Jan 14 13:19:47 2013 +0100
+++ b/QTfrontend/ui/page/AbstractPage.cpp	Mon Jan 14 13:28:03 2013 +0100
@@ -25,6 +25,7 @@
 #include <QLabel>
 #include <QSize>
 #include <QFontMetricsF>
+#include <qDebug>
 
 #include "qpushbuttonwithsound.h"
 
@@ -163,3 +164,13 @@
 {
     return defautDesc;
 }
+
+void AbstractPage::triggerPageEnter()
+{
+    emit pageEnter();
+}
+
+void AbstractPage::triggerPageLeave()
+{
+    emit pageLeave();
+}