00001 // @(#)root/qtgsi:$Id: TQApplication.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Denis Bertini, M. Al-Turany 01/11/2000 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TQApplication 00013 #define ROOT_TQApplication 00014 00015 ////////////////////////////////////////////////////////////////////////////////// 00016 // 00017 // TQApplication 00018 // 00019 // This class creates ROOT environement that will 00020 // interface with the Qt windowing system eventloop and eventhandlers. 00021 // This class will be instantiated once (singleton) in a main() 00022 // program. 00023 // 00024 ////////////////////////////////////////////////////////////////////////////////// 00025 00026 #ifndef ROOT_TApplication 00027 #include "TApplication.h" 00028 #endif 00029 00030 class TQApplication : public TApplication { 00031 00032 private: 00033 Bool_t fCustomized; // flag for customized canvas implimentation 00034 00035 public: 00036 TQApplication(); 00037 TQApplication(const char *appClassName, int *argc, char **argv, void *options = 0, int numOptions = 0); 00038 virtual ~TQApplication(); 00039 virtual void LoadGraphicsLibs(); 00040 void SetCustomized(); 00041 00042 ClassDef(TQApplication,0) //creates ROOT environement with the Qt windowing system 00043 }; 00044 00045 #endif