atrooney-online-2/include/aobutton.h
oldmud0 13942345c6 Run clang-format on entire project
Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style.
Lines reflow at 80 characters. One-line method bodies are on the same
line as the signature. Space always after `//`. No indentation
on preprocessor macros. Includes are sorted lexicographically.

If you don't want to see this commit on blames, use the hidden
whitespace option on GitHub, or use `-w` in git-blame.
2020-04-17 21:57:16 -05:00

22 lines
323 B
C++

#ifndef AOBUTTON_H
#define AOBUTTON_H
#include "aoapplication.h"
#include <QDebug>
#include <QPushButton>
class AOButton : public QPushButton {
Q_OBJECT
public:
AOButton(QWidget *parent, AOApplication *p_ao_app);
~AOButton();
AOApplication *ao_app;
void set_image(QString p_image);
};
#endif // AOBUTTON_H