1 | // %pacpus:license{
|
---|
2 | // This file is part of the PACPUS framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %pacpus:license}
|
---|
5 | /// @file
|
---|
6 | /// @author Marek Kurdej <firstname.surname@utc.fr>
|
---|
7 | /// @date March, 2013
|
---|
8 | /// @version $Id$
|
---|
9 | /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
|
---|
10 | /// @brief Generic ComponentBase class. This is an abstract class.
|
---|
11 | ///
|
---|
12 | /// Detailed description.
|
---|
13 |
|
---|
14 | #ifndef PACPUSAPPLICATION_H
|
---|
15 | #define PACPUSAPPLICATION_H
|
---|
16 |
|
---|
17 | #include <QApplication>
|
---|
18 |
|
---|
19 | namespace pacpus {
|
---|
20 |
|
---|
21 | class PACPUSLIB_API PacpusApplication
|
---|
22 | : public QApplication
|
---|
23 | {
|
---|
24 | public:
|
---|
25 | #ifndef qdoc
|
---|
26 | PacpusApplication(int &argc, char **argv, int = ApplicationFlags);
|
---|
27 | // PacpusApplication(int &argc, char **argv, bool GUIenabled, int = ApplicationFlags);
|
---|
28 | // PacpusApplication(int &argc, char **argv, Type, int = ApplicationFlags);
|
---|
29 | #if defined(Q_WS_X11)
|
---|
30 | PacpusApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0, int = ApplicationFlags);
|
---|
31 | PacpusApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0, int = ApplicationFlags);
|
---|
32 | #endif
|
---|
33 | #if defined(Q_OS_SYMBIAN)
|
---|
34 | PacpusApplication(QApplication::QS60MainApplicationFactory factory, int &argc, char **argv, int = ApplicationFlags);
|
---|
35 | #endif
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | virtual ~PacpusApplication();
|
---|
39 |
|
---|
40 | virtual bool notify(QObject * receiver, QEvent * ev);
|
---|
41 | };
|
---|
42 |
|
---|
43 | } //namespace pacpus
|
---|
44 |
|
---|
45 | #endif // PACPUSAPPLICATION_H
|
---|