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-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/demo/display.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 );