diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-12-26 16:43:08 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2018-12-26 16:43:08 +0100 |
| commit | 00cfd2750d39795e4c205aee2a33b92b1da2524d (patch) | |
| tree | 839c1129418ca8fefe41e6814917f9dabb6efa4b /aoemotebutton.h | |
| parent | 6f1bce5882676ea7affe717a2f5a00b8c3b7fe12 (diff) | |
moved headers into include and cpp files into src + logo into resource
Diffstat (limited to 'aoemotebutton.h')
| -rw-r--r-- | aoemotebutton.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/aoemotebutton.h b/aoemotebutton.h deleted file mode 100644 index c99a73b0..00000000 --- a/aoemotebutton.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef AOEMOTEBUTTON_H -#define AOEMOTEBUTTON_H - -#include "aoapplication.h" - -#include <QPushButton> -#include <QDebug> - -class AOEmoteButton : public QPushButton -{ - Q_OBJECT - -public: - AOEmoteButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y); - - //void set_on(QString p_char, int p_emote); - //void set_off(QString p_char, int p_emote); - void set_image(QString p_char, int p_emote, QString suffix); - - void set_id(int p_id) {m_id = p_id;} - int get_id() {return m_id;} - -private: - QWidget *parent; - AOApplication *ao_app; - - int m_id = 0; - -signals: - void emote_clicked(int p_id); - -private slots: - void on_clicked(); -}; - -#endif // AOEMOTEBUTTON_H |
