Logo ROOT   6.08/07
Reference Guide
TQApplication.h
Go to the documentation of this file.
1 // @(#)root/qtgsi:$Id$
2 // Author: Denis Bertini, M. Al-Turany 01/11/2000
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TQApplication
13 #define ROOT_TQApplication
14 
15 //////////////////////////////////////////////////////////////////////////////////
16 //
17 // TQApplication
18 //
19 // This class creates ROOT environment that will
20 // interface with the Qt windowing system eventloop and eventhandlers.
21 // This class will be instantiated once (singleton) in a main()
22 // program.
23 //
24 //////////////////////////////////////////////////////////////////////////////////
25 
26 #ifndef ROOT_TApplication
27 #include "TApplication.h"
28 #endif
29 
30 class TQApplication : public TApplication {
31 
32 private:
33  Bool_t fCustomized; // flag for customized canvas implimentation
34 
35 public:
36  TQApplication();
37  TQApplication(const char *appClassName, int *argc, char **argv, void *options = 0, int numOptions = 0);
38  virtual ~TQApplication();
39  virtual void LoadGraphicsLibs();
40  void SetCustomized();
41 
42  ClassDef(TQApplication,0) //creates ROOT environment with the Qt windowing system
43 };
44 
45 #endif
virtual void LoadGraphicsLibs()
Here we overload the LoadGraphicsLibs() function.
virtual ~TQApplication()
Delete ROOT application environment.
bool Bool_t
Definition: RtypesCore.h:59
Bool_t fCustomized
Definition: TQApplication.h:33
#define ClassDef(name, id)
Definition: Rtypes.h:254
TQApplication()
Used by Dictionary()
void SetCustomized()
Set the custom flag.
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
Definition: TApplication.h:45