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/life/lifedlg.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/life/lifedlg.cpp')
-rw-r--r-- | examples/life/lifedlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/life/lifedlg.cpp b/examples/life/lifedlg.cpp index c1be353b7..c24f7d508 100644 --- a/examples/life/lifedlg.cpp +++ b/examples/life/lifedlg.cpp @@ -55,14 +55,14 @@ LifeDialog::LifeDialog( int scale, TQWidget * parent, const char * name ) life->move( SIDEBORDER, TOPBORDER ); - connect( qb, SIGNAL(clicked()), tqApp, SLOT(quit()) ); + connect( qb, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) ); qb->setGeometry( SIDEBORDER, SIDEBORDER, qb->sizeHint().width(), 25 ); timer = new LifeTimer( this ); - connect( timer, SIGNAL(timeout()), life, SLOT(nextGeneration()) ); + connect( timer, TQ_SIGNAL(timeout()), life, TQ_SLOT(nextGeneration()) ); pb = new TQPushButton( "Pause", this ); pb->setToggleButton( TRUE ); - connect( pb, SIGNAL(toggled(bool)), timer, SLOT(pause(bool)) ); + connect( pb, TQ_SIGNAL(toggled(bool)), timer, TQ_SLOT(pause(bool)) ); pb->resize( pb->sizeHint().width(), 25 ); pb->move( width() - SIDEBORDER - pb->width(), SIDEBORDER ); @@ -72,8 +72,8 @@ LifeDialog::LifeDialog( int scale, TQWidget * parent, const char * name ) scroll = new TQSlider( 0, LifeTimer::MAXSPEED, 50, LifeTimer::MAXSPEED / 2, TQSlider::Horizontal, this ); - connect( scroll, SIGNAL(valueChanged(int)), - timer, SLOT(setSpeed(int)) ); + connect( scroll, TQ_SIGNAL(valueChanged(int)), + timer, TQ_SLOT(setSpeed(int)) ); scroll->move( sp->width() + 2 * SIDEBORDER, 45 ); scroll->resize( 200, 15 ); @@ -118,7 +118,7 @@ LifeDialog::LifeDialog( int scale, TQWidget * parent, const char * name ) cb->setAutoResize( FALSE ); cb->setCurrentItem( sel ); cb->show(); - connect( cb, SIGNAL(activated(int)), SLOT(getPattern(int)) ); + connect( cb, TQ_SIGNAL(activated(int)), TQ_SLOT(getPattern(int)) ); TQSize s; s = life->minimumSize(); |