mem leaks--, globals--, better macro names, Q_OBJECT++, other name improvemets

This commit is contained in:
Mathias Panzenböck
2014-02-16 01:12:41 +01:00
parent 904a843b93
commit f2a566cc06
25 changed files with 191 additions and 183 deletions

View File

@ -1,5 +1,5 @@
#ifndef BUTTON_WIDGET_H
#define BUTTON_WIDGET_H
#ifndef QJOYPAD_BUTTON_WIDGET_H
#define QJOYPAD_BUTTON_WIDGET_H
//this represents a Button
#include "button.h"
@ -14,6 +14,8 @@
#include <QMouseEvent>
class ButtonWidget : public FlashButton {
Q_OBJECT
public:
ButtonWidget( Button* b, QWidget* parent);
void jsevent( int val );