class TQtApplication


TQtApplication -  Instantiate the Qt system within ROOT environment

Instantiate the Qt package by createing Qapplication object if any


Function Members (Methods)

public:
TQtApplication()
TQtApplication(const char* appClassName, int& argc, char** argv)
virtual~TQtApplication()
static TClass*Class()
static TQtApplication*GetQtApplication()
virtual TClass*IsA() const
static boolIsThisGuiThread()
static Int_tQtVersion()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
static boolTerminate()
private:
TQtApplication(const TQtApplication&)
voidCreateGUIThread(int& argc, char** argv)
static voidCreateQApplication(int& argc, char** argv, bool GUIenabled)
voidoperator=(const TQtApplication&)

Data Members

protected:
static TQtApplication*fgQtApplication
private:
TQtApplicationThread*fGUIThread

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQtApplication(const char* appClassName, int& argc, char** argv)
~TQtApplication()
{ }
void CreateQApplication(int& argc, char** argv, bool GUIenabled)
  Initialize the Qt package
  Check the QT_BATCH environment variable to disactivate Qt GUI mode
void CreateGUIThread(int& argc, char** argv)
 Create GUI thread to Qt event loop
TQtApplication * GetQtApplication()
{return fgQtApplication;}
bool Terminate()
 Terminate GUI thread
Int_t QtVersion()
 The Qt version the package was compiled with
bool IsThisGuiThread()
 Check whether the current thread belongs the GUI
void operator=(const TQtApplication& )
TQtApplication(const TQtApplication& )
TQtApplication(const TQtApplication& )
{}

Author: Valeri Fine 21/01/2002
Last change: root/qt:$Id: TQtApplication.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-11-28 17:01
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.