ROOT » GRAF2D » QT » TQtApplication

class TQtApplication


TQtApplication -  Instantiate the Qt system within ROOT environment

Instantiate the Qt package by createing Qapplication object if any


Function Members (Methods)

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

Data Members

protected:
static TQtApplication*fgQtApplication
private:
TQtApplicationThread*fGUIThread

Class Charts

Inheritance Chart:
TQtApplication

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()