00001 // @(#)root/qt:$Id: TQtRootApplication.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Valeri Fine 21/01/2002 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * 00006 * Copyright (C) 2002 by Valeri Fine. * 00007 * All rights reserved. * 00008 * * 00009 * For the licensing terms see $ROOTSYS/LICENSE. * 00010 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00011 *************************************************************************/ 00012 00013 00014 #ifndef ROOT_TQtRootApplication 00015 #define ROOT_TQtRootApplication 00016 00017 ////////////////////////////////////////////////////////////////////////// 00018 // // 00019 // TQtRootApplication // 00020 // // 00021 // This class create the dummy version of the ROOT // 00022 // application environment. This in contrast the Win32 version. // 00023 // // 00024 ////////////////////////////////////////////////////////////////////////// 00025 00026 #ifndef ROOT_TApplicationImp 00027 #include "TApplicationImp.h" 00028 #endif 00029 00030 00031 00032 class TQtRootApplication : public TApplicationImp { 00033 00034 private: 00035 char *fDisplay; // display server to conntect to 00036 00037 TQtRootApplication() { fDisplay = 0; } 00038 void GetOptions(Int_t *argc, char **argv); 00039 00040 public: 00041 TQtRootApplication(const char *appClassName, Int_t *argc, char **argv); 00042 virtual ~TQtRootApplication(); 00043 00044 void Show() { } 00045 void Hide() { } 00046 void Iconify() { } 00047 Bool_t IsCmdThread() { return kTRUE; } // by default (for UNIX) ROOT is a single thread application 00048 void Init() { } 00049 void Open() { } 00050 void Raise() { } 00051 void Lower() { } 00052 00053 // ClassDef(TQtRootApplication,0) // ROOT native GUI application environment 00054 }; 00055 00056 #endif