COPASI API  4.16.103
CQCopasiApplication.h
Go to the documentation of this file.
1 // Copyright (C) 2012 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef COPASI_CQCopasiApplication
7 #define COPASI_CQCopasiApplication
8 
9 #include <QtGui/QApplication>
10 
11 class QString;
12 class CopasiUI3Window;
13 
14 class CQCopasiApplication: public QApplication
15 {
16  Q_OBJECT
17 
18 public:
19  CQCopasiApplication(int & argc, char ** argv);
20 
21  virtual ~CQCopasiApplication();
22 
23  virtual bool event(QEvent * pEvent);
24 
25  void setMainWindow(CopasiUI3Window * pMainWindow);
26 
27 #ifdef COPASI_DEBUG
28  bool notify(QObject *, QEvent *);
29 #endif
30 
31 private:
33 
34  QString mFile;
35 
36  bool mStarting;
37 };
38 
39 #endif // COPASI_CQCopasiApplication
void setMainWindow(CopasiUI3Window *pMainWindow)
virtual bool event(QEvent *pEvent)
CQCopasiApplication(int &argc, char **argv)
CopasiUI3Window * mpMainWindow