Derived App from QApplication
This commit is contained in:
parent
1eaae882a0
commit
a9ea3928e4
4 changed files with 35 additions and 8 deletions
23
src/app.h
Normal file
23
src/app.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef APP_H
|
||||
#define APP_H
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
class Window;
|
||||
|
||||
class App : public QApplication
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit App(int argc, char *argv[]);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
Window* window;
|
||||
|
||||
};
|
||||
|
||||
#endif // APP_H
|
Loading…
Add table
Add a link
Reference in a new issue