source: pacpusframework/trunk/include/Pacpus/kernel/PacpusApplication.h@ 254

Last change on this file since 254 was 197, checked in by Marek Kurdej, 11 years ago

Fixed: using auto-generated PacpusLibConfig.h instead of pacpus.h.

  • Property svn:executable set to *
File size: 1.5 KB
Line 
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 <Pacpus/kernel/PacpusLibConfig.h>
18
19#include <QApplication>
20
21namespace pacpus {
22
23class PACPUSLIB_API PacpusApplication
24 : public QApplication
25{
26public:
27#ifndef qdoc
28 PacpusApplication(int &argc, char **argv, int = ApplicationFlags);
29// PacpusApplication(int &argc, char **argv, bool GUIenabled, int = ApplicationFlags);
30// PacpusApplication(int &argc, char **argv, Type, int = ApplicationFlags);
31#if defined(Q_WS_X11)
32 PacpusApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0, int = ApplicationFlags);
33 PacpusApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0, int = ApplicationFlags);
34#endif
35#if defined(Q_OS_SYMBIAN)
36 PacpusApplication(QApplication::QS60MainApplicationFactory factory, int &argc, char **argv, int = ApplicationFlags);
37#endif
38#endif
39
40 virtual ~PacpusApplication();
41
42 virtual bool notify(QObject * receiver, QEvent * ev);
43
44private:
45 void installSignalHandler();
46};
47
48} //namespace pacpus
49
50#endif // PACPUSAPPLICATION_H
Note: See TracBrowser for help on using the repository browser.