From 42957a3f812a1db64a9ae452baa2d3fbc35f2466 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Aug 2024 22:02:11 +0900 Subject: Rename more widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/qmag-example.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/qmag-example.html') diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index bdaed4f16..9353d8805 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -158,23 +158,23 @@ static const int timer[] = { saveButton = new TQPushButton( this ); TQ_CHECK_PTR(saveButton); - connect( saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(save()) ); - saveButton->setText( "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 ); multiSaveButton = new TQPushButton( this ); multiSaveButton->setToggleButton(TRUE); TQ_CHECK_PTR(multiSaveButton); - connect( multiSaveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(multiSave()) ); - multiSaveButton->setText( "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, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) ); - quitButton->setText( "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 ); #else @@ -289,7 +289,7 @@ void MagWidget::grab() m.scale( (double)z, (double)z ); pm = p.xForm( m ); - if ( !multiSaveButton || !multiSaveButton->isOn() ) + if ( !multiSaveButton || !multiSaveButton->isOn() ) repaint( FALSE ); // and finally repaint, flicker-free } @@ -400,7 +400,7 @@ void MagWidget::grabAround(TQPoint pos) { grab(); /* - if ( multiSaveButton->isOn() && !multifn.isEmpty() ) { + if ( multiSaveButton->isOn() && !multifn.isEmpty() ) { TQRegExp num("[0-9][0-9]*"); int start; int len; -- cgit v1.2.1