From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/qmag-example.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/qmag-example.html') diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 29b97de49..475290a05 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, TQ_SIGNAL(activated(int)), TQ_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, TQ_SIGNAL(activated(int)), TQ_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, TQ_SIGNAL(clicked()), this, TQ_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, TQ_SIGNAL(clicked()), this, TQ_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, TQ_SIGNAL(clicked()), tqApp, TQ_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 ); @@ -224,21 +224,21 @@ void MagWidget::setZoom( int index ) void MagWidget::setRefresh( int index ) { r = index; - killTimers(); + killTimers(); if (index && !grabbing) - startTimer( timer[r] ); + startTimer( timer[r] ); } void MagWidget::save() { if ( !p.isNull() ) { - killTimers(); + killTimers(); TQString fn = TQFileDialog::getSaveFileName(); if ( !fn.isEmpty() ) p.save( fn, "BMP" ); if ( r ) - startTimer( timer[r] ); + startTimer( timer[r] ); } } @@ -308,7 +308,7 @@ void MagWidget::grab() { if ( !grabbing ) { // prepare to grab... grabbing = TRUE; - killTimers(); + killTimers(); grabMouse( crossCursor ); grabx = -1; graby = -1; @@ -360,7 +360,7 @@ void MagWidget::grabAround(TQPoint pos) } grab(); if ( r ) - startTimer( timer[r] ); + startTimer( timer[r] ); } @@ -396,7 +396,7 @@ void MagWidget::grabAround(TQPoint pos) } -void MagWidget::timerEvent( TQTimerEvent * ) +void MagWidget::timerEvent( TQTimerEvent * ) { grab(); /* -- cgit v1.2.1