Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
StateMessageReply.h
Go to the documentation of this file.
1 #ifndef STATEMESSAGEREPLY_H
2 #define STATEMESSAGEREPLY_H
3 
4 #include "ApplicationState.h"
5 
7 {
8  Q_OBJECT
9 public:
10  explicit StateMessageReply( ApplicationStateManager *stateManager );
11  virtual ~StateMessageReply();
12 
13  StateMessageReply *Clone( StorageList &inputStream );
14 
15  virtual void OnEnter();
16  virtual void OnResume();
17  virtual void OnLeave();
18  virtual void OnPanelActionButtonClicked();
19 
20  virtual void OnBusStopArrival( const int tripBusStopIndex, const GPSDefines::BusStopChangeType busStopChangeType );
21 
22 private slots:
23  void OnSendMessageButtonClicked( const QString &messageText, const TextMessageID_t predefinedMessageID );
24  void OnMessageTextTooLong();
25 
26 private:
28 
29  class DataClass;
30  QScopedPointer<DataClass> d;
31 
33 };
34 
35 #endif // STATEMESSAGEREPLY_H
StateMessageReply * Clone(StorageList &inputStream)
Definition: StateMessageReply.cpp:100
uint32_t TextMessageID_t
Definition: DispatchingTextMessagesDefines.h:24
Definition: ApplicationStateManager.h:43
virtual void OnBusStopArrival(const int tripBusStopIndex, const GPSDefines::BusStopChangeType busStopChangeType)
Definition: StateMessageReply.cpp:181
virtual void OnResume()
Definition: StateMessageReply.cpp:162
Definition: ApplicationState.h:33
virtual void OnLeave()
Definition: StateMessageReply.cpp:171
StateMessageReply(ApplicationStateManager *stateManager)
Definition: StateMessageReply.cpp:82
virtual void OnEnter()
Definition: StateMessageReply.cpp:109
virtual ~StateMessageReply()
Definition: StateMessageReply.cpp:95
virtual void OnPanelActionButtonClicked()
Definition: StateMessageReply.cpp:176
Definition: StateMessageReply.h:6
BusStopChangeType
Definition: GPSDefines.h:30