#ifndef ROOT_TQRootDialog
#define ROOT_TQRootDialog
#ifndef __CINT__
# include "qlineedit.h"
# include "qnamespace.h"
# if (QT_VERSION > 0x039999) // Added by cholm@nbi.dk - for Qt 4
#  include "qlist.h"
#  include "q3vbox.h"
typedef Q3VBox QVBox;
using namespace Qt;
# else
#  include "qvbox.h"
# endif
#endif
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TMethod;
class TCanvas;
class QLineEdit;
class QWidget;
#ifdef __CINT__
template <typename T> class QList;
class QLineEdit;
class QList<QLineEdit*>;
class QVBox;
#if QTVERS > 3
class WindowFlags;
typedef WindowFlags WFlags;
#endif
#endif
class TQRootDialog: public QVBox
{
#ifndef __CINT__
   Q_OBJECT
#endif
private:
   TQRootDialog(const TQRootDialog &);
   TQRootDialog& operator=(const TQRootDialog &);
      
public:
   TQRootDialog(QWidget *parent, const char *name, WFlags f=0,
                TObject *obj=0,TMethod *meth=0);
   virtual ~TQRootDialog();
   void Add(const char* argname, const char* value, const char* type);
   void Popup();
   void SetTCanvas(TCanvas* aCanvas){fCurCanvas=aCanvas;}
public slots:
   void   Receive(){ExecuteMethod();} 
   void   ExecuteMethod();
protected:
   void closeEvent( QCloseEvent* ce);
   QVBox *fArgBox;         
   QLineEdit *fLineEdit;   
   TObject *fCurObj;       
   TMethod *fCurMethod;    
   TCanvas* fCurCanvas;    
   QWidget* fParent;       
# if (QT_VERSION > 0x039999) // Added by cholm@nbi.dk - for Qt 4
   QList<QLineEdit*> fList; 
#else
   QList<QLineEdit> fList; 
#endif      
   ClassDef(TQRootDialog,1)  
};
#endif
Last update: Thu Jan 17 09:02:13 2008
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.