Modify classes to be QObjects

This commit is contained in:
lupoDharkael
2017-06-14 01:02:43 +02:00
parent 878640bf53
commit ad044fbc93
4 changed files with 18 additions and 10 deletions

View File

@@ -20,15 +20,17 @@
#include "button.h"
#include <QVector>
#include <QObject>
class Button;
class QRect;
class QPoint;
class ButtonHandler {
class ButtonHandler : public QObject {
Q_OBJECT
public:
ButtonHandler(const QVector<Button*>&);
ButtonHandler();
ButtonHandler(const QVector<Button*>&, QObject *parent = 0);
ButtonHandler(QObject *parent = 0);
void hide();
void show();