Port to Qt 4.1.
[bertos.git] / emul / emulwin.h
1 /**
2  * \file
3  * <!--
4  * Copyright 2006 Develer S.r.l. (http://www.develer.com/)
5  * Copyright 2000, 2001 Bernardo Innocenti <bernie@codewiz.org>
6  * This file is part of DevLib - See README.devlib for information.
7  * -->
8  *
9  * \version $Id$
10  *
11  * \author Bernardo Innocenti <bernie@develer.com>
12  *
13  * \brief Main Qt window for embedded applications emulator (interface)
14  */
15
16 /*#*
17  *#* $Log$
18  *#* Revision 1.3  2006/02/20 02:00:39  bernie
19  *#* Port to Qt 4.1.
20  *#*
21  *#* Revision 1.2  2006/01/16 03:51:51  bernie
22  *#* Fix boilerplate.
23  *#*
24  *#* Revision 1.1  2006/01/16 03:37:12  bernie
25  *#* Add emulator skeleton.
26  *#*
27  *#*/
28
29 #ifndef EMUL_EMULWIN_H
30 #define EMUL_EMULWIN_H
31
32 #if _QT < 4
33         #include <qmainwindow.h>
34 #else
35         #include <QtGui/QMainWindow>
36 #endif
37
38 // fwd decls
39 class Emulator;
40
41 class EmulWin : public QMainWindow
42 {
43         Q_OBJECT
44
45 // construction
46 public:
47         EmulWin(Emulator *emul);
48         ~EmulWin();
49
50 protected:
51         void closeEvent(QCloseEvent *);
52
53 private slots:
54         void about();
55 };
56
57 #endif // EMUL_EMULWIN_H
58