Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PopUpMessageButtonHandler.h
Go to the documentation of this file.
1 #ifndef POPUPMESSAGEBUTTONHANDLER_H
2 #define POPUPMESSAGEBUTTONHANDLER_H
3 
6 
8 {
9 public:
14  explicit PopUpMessageButtonHandler();
15 
17 
23 
107 
113  bool GetButtonRepeat( PopUpMessageWidget::Button button ) const;
114 
115 private:
117 
118  class DataClass;
119  QScopedPointer<DataClass> d;
120 
122 
123 };
124 
125 #endif // POPUPMESSAGEBUTTONHANDLER_H
void SetButtonAction(PopUpMessageWidget::Button button, ApplicationDefines::ButtonAction action)
SetButtonAction sets action for a button identified by 'button' parameter. The action is an object of...
Definition: PopUpMessageButtonHandler.cpp:51
void SetButtonRepeat(PopUpMessageWidget::Button button)
SetButtonRepeat if the button given as parameter is clicked, button action is executed again and mess...
Definition: PopUpMessageButtonHandler.cpp:56
void OnButtonClicked(PopUpMessageWidget::Button button)
OnButtonClicked method is called when a button is clicked in pop-up message window. The parameter identifies which button was clicked.
Definition: PopUpMessageButtonHandler.cpp:35
bool GetButtonRepeat(PopUpMessageWidget::Button button) const
Definition: PopUpMessageButtonHandler.cpp:61
std::function< void()> ButtonAction
Definition: ApplicationDefines.h:509
PopUpMessageButtonHandler()
Constructor creates new handler and assigns it to the given pop-up message.
Definition: PopUpMessageButtonHandler.cpp:26
Definition: PopUpMessageButtonHandler.cpp:10
virtual ~PopUpMessageButtonHandler()
Definition: PopUpMessageButtonHandler.cpp:31
Definition: PopUpMessageButtonHandler.h:7
Button
Definition: PopUpMessageWidget.h:33