1 #ifndef APPEVENTLISTENER_HPP
\r
2 #define APPEVENTLISTENER_HPP
\r
6 #define APP_MESSAGE_SETWIDGET "Add widget"
\r
7 #define APP_MESSAGE_CLOSE "Close"
\r
9 class AppEventListener : public QObject
\r
14 explicit AppEventListener(QObject *parent = 0);
\r
17 static AppEventListener *instance();
\r
20 void receiveMessage(const QString& message);
\r
24 #endif // APPEVENTLISTENER_HPP
\r