Index of QT classes

ROOT Qt-layer classes

// Author: Valery Fine  09/08/2004
** $Id: TQtTimer.cxx,v 1.11 2006/03/17 23:23:15 fine Exp $
** Copyright (C) 2002 by Valeri Fine. Brookhaven National Laboratory.
**                                    All rights reserved.
** This file may be distributed under the terms of the Q Public License
** as defined by Trolltech AS of Norway and appearing in the file
** LICENSE.QPL included in the packaging of this file.

#include <qapplication.h>
#include "TQtTimer.h"
#include "TSystem.h"

// TQtTimer is a singelton QTimer to awake the ROOT event loop from Qt event loop


TQtTimer *TQtTimer::fgQTimer=0;
void TQtTimer::AwakeRootEvent(){
     // proceess the ROOT events inside of Qt event loop
TQtTimer * TQtTimer::QObject* parent=0,const char* name=0)">Create(QObject *parent, const char *name)
   // QObject* parent=0,const char* name=0)">Create a singelton object TQtTimer
   if (!fgQTimer) {
      fgQTimer = new  TQtTimer(parent,name);
      connect(fgQTimer,SIGNAL(timeout()),fgQTimer,SLOT(AwakeRootEvent()) );
   return fgQTimer;

Qt/ROOT page - ROOT page - Class index - Class Hierarchy - Top of the page - Qt docs

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