diff --git a/qtgsi/inc/TQRootApplication.h b/qtgsi/inc/TQRootApplication.h index 8082886fd137150fad8ef428013f4fd73e38451a..603ed2045a79ab801205496b112413a0962d8c3d 100644 --- a/qtgsi/inc/TQRootApplication.h +++ b/qtgsi/inc/TQRootApplication.h @@ -1,4 +1,4 @@ -// @(#)root/qtgsi:$Name: $:$Id: TQRootApplication.h,v 1.2 2006/04/12 10:07:21 brun Exp $ +// @(#)root/qtgsi:$Name: $:$Id: TQRootApplication.h,v 1.3 2006/04/13 09:08:59 brun Exp $ // Author: Denis Bertini, M. AL-Turany 01/11/2000 /************************************************************************* @@ -40,7 +40,10 @@ class TQRootApplication : public QApplication { #ifndef __CINT__ Q_OBJECT #endif - protected: +private: + TQRootApplication(const TQRootApplication &); + TQRootApplication& operator=(const TQRootApplication &); +protected: QTimer *fQTimer; // Qt timer that poll the event loop of ROOT TTimer *fRTimer; // Root timer public: @@ -48,8 +51,6 @@ public: TQRootApplication(int argc, char **argv,int poll=0); ~TQRootApplication(); - TQRootApplication(const TQRootApplication &); - TQRootApplication& operator=(const TQRootApplication &); void SetDebugOn(){ fgDebug=kTRUE; } void SetWarningOn(){ fgWarning=kTRUE;} public slots: diff --git a/qtgsi/inc/TQRootCanvas.h b/qtgsi/inc/TQRootCanvas.h index 041bf484359bd3f7158907499ea11fcacdded63d..57f4448097922827ea035c08d4c8407e6e03c9e6 100644 --- a/qtgsi/inc/TQRootCanvas.h +++ b/qtgsi/inc/TQRootCanvas.h @@ -1,4 +1,4 @@ -// @(#)root/qtgsi:$Name: $:$Id: TQRootCanvas.h,v 1.3 2006/04/12 17:02:55 brun Exp $ +// @(#)root/qtgsi:$Name: $:$Id: TQRootCanvas.h,v 1.4 2006/04/13 09:08:59 brun Exp $ // Author: Denis Bertini, M. AL-Turany 01/11/2000 /************************************************************************* @@ -57,13 +57,15 @@ class TQRootCanvas : public QWidget #ifndef __CINT__ Q_OBJECT #endif +private: + TQRootCanvas(const TQRootCanvas &); + TQRootCanvas& operator=(const TQRootCanvas &); + public: TQRootCanvas( QWidget *parent = 0, const char *name = 0 ,TCanvas *c=0); TQRootCanvas( QWidget *parent, QWidget* tabWin , const char *name = 0 ,TCanvas *c=0); virtual ~TQRootCanvas(); - TQRootCanvas(const TQRootCanvas &); - TQRootCanvas& operator=(const TQRootCanvas &); TCanvas* GetCanvas() { return fCanvas;} Int_t GetRootWid() { return fWid;} Bool_t GetCanvasOwner(){ return fIsCanvasOwned; } diff --git a/qtgsi/inc/TQRootDialog.h b/qtgsi/inc/TQRootDialog.h index d02fd835ee519b09ab9ddaac67400339b4e0027e..39d9a9548a4504dc0e650da0e7cf778ae08abb3e 100644 --- a/qtgsi/inc/TQRootDialog.h +++ b/qtgsi/inc/TQRootDialog.h @@ -1,4 +1,4 @@ -// @(#)root/qtgsi:$Name: $:$Id: TQRootDialog.h,v 1.2 2006/04/12 10:07:21 brun Exp $ +// @(#)root/qtgsi:$Name: $:$Id: TQRootDialog.h,v 1.3 2006/04/13 09:08:59 brun Exp $ // Author: Denis Bertini, M. Al-Turany 01/11/2000 /************************************************************************* @@ -48,11 +48,13 @@ 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); - TQRootDialog(const TQRootDialog &); - TQRootDialog& operator=(const TQRootDialog &); virtual ~TQRootDialog(); void Add(const char* argname, const char* value, const char* type); void Popup(); diff --git a/qtgsi/src/TQRootApplication.cxx b/qtgsi/src/TQRootApplication.cxx index 7d09d60f1f9e876ed084d86e8a678c72256baeb3..bfcbd181a7459700d80ae27a4de4170a553586bb 100644 --- a/qtgsi/src/TQRootApplication.cxx +++ b/qtgsi/src/TQRootApplication.cxx @@ -1,4 +1,4 @@ -// @(#)root/qtgsi:$Name: $:$Id: TQRootApplication.cxx,v 1.2 2006/04/12 10:07:21 brun Exp $ +// @(#)root/qtgsi:$Name: $:$Id: TQRootApplication.cxx,v 1.3 2006/04/13 09:09:00 brun Exp $ // Author: Denis Bertini, M. Al-Turany 01/11/2000 /************************************************************************* @@ -54,19 +54,6 @@ TQRootApplication::TQRootApplication(int argc, char **argv, int poll):QApplicati qInstallMsgHandler( qMessageOutput ); } -//______________________________________________________________________________ -TQRootApplication::TQRootApplication(const TQRootApplication &) - :QApplication(0,0) -{ - // dummy copy constructor -} - -//______________________________________________________________________________ -TQRootApplication& TQRootApplication::operator=(const TQRootApplication &) -{ - return *this; -} - //______________________________________________________________________________ TQRootApplication::~TQRootApplication() { diff --git a/qtgsi/src/TQRootCanvas.cxx b/qtgsi/src/TQRootCanvas.cxx index 083529c2c8cfdd35094263aa3fe56227824944c6..c468e968fbadd9b7c288ee3279624a008c18bf21 100644 --- a/qtgsi/src/TQRootCanvas.cxx +++ b/qtgsi/src/TQRootCanvas.cxx @@ -1,4 +1,4 @@ -// @(#)root/qtgsi:$Name: $:$Id: TQRootCanvas.cxx,v 1.2 2006/04/12 10:07:21 brun Exp $ +// @(#)root/qtgsi:$Name: $:$Id: TQRootCanvas.cxx,v 1.3 2006/04/13 09:09:00 brun Exp $ // Author: Denis Bertini, M. Al-Turany 01/11/2000 /************************************************************************* @@ -103,19 +103,6 @@ TQRootCanvas::TQRootCanvas( QWidget *parent, QWidget* tabWin, const char *name, setAcceptDrops(TRUE); } -//______________________________________________________________________________ -TQRootCanvas::TQRootCanvas(const TQRootCanvas &) - :QWidget(0,0,0) -{ - // dummy copy constructor -} - -//______________________________________________________________________________ -TQRootCanvas& TQRootCanvas::operator=(const TQRootCanvas &) -{ - return *this; -} - //______________________________________________________________________________ void TQRootCanvas::mouseMoveEvent(QMouseEvent *e) { diff --git a/qtgsi/src/TQRootDialog.cxx b/qtgsi/src/TQRootDialog.cxx index d6cf8029e1c709f725e55fc54c70d7bd51aaf39d..7c68c7abc20c481a2a206614b8ef83e61d2ebd5b 100644 --- a/qtgsi/src/TQRootDialog.cxx +++ b/qtgsi/src/TQRootDialog.cxx @@ -1,4 +1,4 @@ -// @(#)root/qtgsi:$Name: $:$Id: TQRootDialog.cxx,v 1.2 2006/04/12 10:07:21 brun Exp $ +// @(#)root/qtgsi:$Name: $:$Id: TQRootDialog.cxx,v 1.3 2006/04/13 09:09:00 brun Exp $ // Author: Denis Bertini, M. Al-Turany 01/11/2000 /************************************************************************* @@ -46,19 +46,6 @@ TQRootDialog::TQRootDialog(QWidget *parent, const char *name, WFlags f, connect(bOk,SIGNAL( clicked() ), this, SLOT( ExecuteMethod() )); } -//______________________________________________________________________________ -TQRootDialog::TQRootDialog(const TQRootDialog &) - :QVBox(0,0,0) -{ - // dummy copy constructor -} - -//______________________________________________________________________________ -TQRootDialog& TQRootDialog::operator=(const TQRootDialog &) -{ - return *this; -} - //______________________________________________________________________________ void TQRootDialog::ExecuteMethod() {