ROOT logo
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)

TQtApplication(const char* appClassName, int& argc, char** argv)
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()
TQtApplication(const TQtApplication&)
voidCreateGUIThread(int& argc, char** argv)
static voidCreateQApplication(int& argc, char** argv, bool GUIenabled)
voidoperator=(const TQtApplication&)

Data Members

static TQtApplication*fgQtApplication

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQtApplication(const char* appClassName, int& argc, char** argv)
{ }
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& )