]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/app.h
Replace QtGui includes with QtWidgets, add QT += widgets for qmake
[virtualjaguar] / src / gui / app.h
1 //
2 // app.h: Header file
3 //
4 // by James Hammons
5 // (C) 2009 Underground Software
6 //
7
8 #ifndef __APP_H__
9 #define __APP_H__
10
11 //Hrm. uh??? I thought this wasn't the way to do this stuff...???
12 #include <QtWidgets>
13
14 // Forward declarations
15 class MainWin;
16
17 class App: public QApplication
18 {
19         public:
20                 App(int & argc, char * argv[]);
21
22         private:
23                 MainWin * mainWindow;
24 //              bool noUntunedTankPlease;
25
26         // Globally accessible stuff goes here...
27         // Although... Globally accessible stuff should go into settings.cpp...
28         // Unless it's stuff related to the GUI, then it should go here. :-P
29         // And we make these class variables so we don't have to muck around with
30         // chasing down instances of the object...
31 //      public:
32 //              static QString filenameToRun;
33 };
34
35 #endif  // __APP_H__