Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

qrootapplication.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 //Author : Denis Bertini 01.11.2000
00017 
00018 /**************************************************************************
00019 * Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI           *
00020 *                     Planckstr. 1, 64291 Darmstadt, Germany              *
00021 *                     All rights reserved.                                *
00022 * Contact:            http://go4.gsi.de                                   *
00023 *                                                                         *
00024 * This software can be used under the license agreements as stated in     *
00025 * Go4License.txt file which is part of the distribution.                  *
00026 ***************************************************************************/
00027 
00028 #ifndef QROOTAPPLICATION_H
00029 #define QROOTAPPLICATION_H
00030 
00045 #include "qapplication.h"
00046 
00047 class QTimer;
00048 class TTimer;
00049 
00050 class QRootApplication : public QApplication {
00051    Q_OBJECT
00052 
00053    public:
00054       QRootApplication(int& argc, char **argv, int poll=0);
00055       virtual ~QRootApplication();
00056 
00057       void setDebugOn() { fDebug=true; }
00058       void setWarningOn() { fWarning=true; }
00059       void setErrorHandler();
00060 
00061 
00062       static bool fDebug;
00063       static bool fWarning;
00064 
00065    public slots:
00066 
00067      void execute();
00068      void quit();
00069 
00070    protected:
00071      QTimer*   timer;
00072      TTimer*   rtimer;
00073 };
00074 
00075 #endif
00076 
00077 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:33 2008 for Go4-v3.04-1 by  doxygen 1.4.2