diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/demo/display.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-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.cpp | 8 |
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 ); |