Logo ROOT   6.10/09
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 #include "TApplication.h"
27 
28 class TQApplication : public TApplication {
29 
30 private:
31  Bool_t fCustomized; // flag for customized canvas implimentation
32 
33 public:
34  TQApplication();
35  TQApplication(const char *appClassName, int *argc, char **argv, void *options = 0, int numOptions = 0);
36  virtual ~TQApplication();
37  virtual void LoadGraphicsLibs();
38  void SetCustomized();
39 
40  ClassDef(TQApplication,0) //creates ROOT environment with the Qt windowing system
41 };
42 
43 #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:31
#define ClassDef(name, id)
Definition: Rtypes.h:297
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:39