summaryrefslogtreecommitdiffstats
path: root/examples/demo/display.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/demo/display.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/demo/display.cpp')
-rw-r--r--examples/demo/display.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/demo/display.cpp b/examples/demo/display.cpp
index 7ca28c828..7cc6a44af 100644
--- a/examples/demo/display.cpp
+++ b/examples/demo/display.cpp
@@ -160,8 +160,8 @@ DisplayWidget::DisplayWidget( TQWidget *parent, const char *name )
dial->setRange( -10, 10 );
dial->setValue( 1 );
screen->setStep( dial->value() );
- connect( dial, SIGNAL( valueChanged( int )),
- screen, SLOT( setStep( int )));
+ connect( dial, TQ_SIGNAL( valueChanged( int )),
+ screen, TQ_SLOT( setStep( int )));
lcd = new TQLCDNumber( 2, this );
lcd->setSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred );
lcdval = 0;
@@ -172,7 +172,7 @@ DisplayWidget::DisplayWidget( TQWidget *parent, const char *name )
curve = new Curve( this );
spin = new TQSpinBox( 1, 10, 1, this );
- connect( spin, SIGNAL( valueChanged( int )), curve, SLOT( setFactor( int )));
+ connect( spin, TQ_SIGNAL( valueChanged( int )), curve, TQ_SLOT( setFactor( int )));
spin->setValue( 2 );
vb2->addWidget( curve );
vb2->addWidget( spin );
@@ -192,7 +192,7 @@ void DisplayWidget::run()
{
if ( !timer ) {
timer = new TQTimer( this );
- connect( timer, SIGNAL( timeout() ), SLOT( tick() ) );
+ connect( timer, TQ_SIGNAL( timeout() ), TQ_SLOT( tick() ) );
}
timer->start( 5 );