From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- doc/html/qmag-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/qmag-example.html') diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 096557030..29b97de49 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -135,12 +135,12 @@ static const int timer[] = { zoom = new TQComboBox( FALSE, this ); TQ_CHECK_PTR(zoom); zoom->insertStrList( zoomfactors, 9 ); - connect( zoom, SIGNAL(activated(int)), SLOT(setZoom(int)) ); + connect( zoom, TQ_SIGNAL(activated(int)), TQ_SLOT(setZoom(int)) ); refresh = new TQComboBox( FALSE, this ); TQ_CHECK_PTR(refresh); refresh->insertStrList( refreshrates, 9 ); - connect( refresh, SIGNAL(activated(int)), SLOT(setRefresh(int)) ); + connect( refresh, TQ_SIGNAL(activated(int)), TQ_SLOT(setRefresh(int)) ); for( n=0; n<9; n++) { int w2 = zoom->fontMetrics().width( zoomfactors[n] ); @@ -158,7 +158,7 @@ static const int timer[] = { saveButton = new TQPushButton( this ); TQ_CHECK_PTR(saveButton); - connect( saveButton, SIGNAL(clicked()), this, SLOT(save()) ); + connect( saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(save()) ); saveButton->setText( "Save" ); saveButton->setGeometry( x+w+30+2, 2, 10+saveButton->fontMetrics().width("Save"), 20 ); @@ -166,14 +166,14 @@ static const int timer[] = { multiSaveButton = new TQPushButton( this ); multiSaveButton->setToggleButton(TRUE); TQ_CHECK_PTR(multiSaveButton); - connect( multiSaveButton, SIGNAL(clicked()), this, SLOT(multiSave()) ); + connect( multiSaveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(multiSave()) ); multiSaveButton->setText( "MultiSave" ); multiSaveButton->setGeometry( saveButton->geometry().right() + 2, 2, 10+multiSaveButton->fontMetrics().width("MultiSave"), 20 ); quitButton = new TQPushButton( this ); TQ_CHECK_PTR(quitButton); - connect( quitButton, SIGNAL(clicked()), tqApp, SLOT(quit()) ); + connect( quitButton, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) ); quitButton->setText( "Quit" ); quitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2, 10+quitButton->fontMetrics().width("Quit"), 20 ); -- cgit v1.2.1