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-31 22:16:03 +0900 |
| commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
| tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /tutorial/t8/main.cpp | |
| parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
| download | tqt-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt-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 'tutorial/t8/main.cpp')
| -rw-r--r-- | tutorial/t8/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tutorial/t8/main.cpp b/tutorial/t8/main.cpp index 97947afe4..0af6d3347 100644 --- a/tutorial/t8/main.cpp +++ b/tutorial/t8/main.cpp @@ -27,7 +27,7 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) TQPushButton *quit = new TQPushButton( "Quit", this, "quit" ); quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) ); + connect( quit, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) ); LCDRange *angle = new LCDRange( this, "angle" ); angle->setRange( 5, 70 ); @@ -35,10 +35,10 @@ MyWidget::MyWidget( TQWidget *parent, const char *name ) CannonField *cannonField = new CannonField( this, "cannonField" ); - connect( angle, SIGNAL(valueChanged(int)), - cannonField, SLOT(setAngle(int)) ); - connect( cannonField, SIGNAL(angleChanged(int)), - angle, SLOT(setValue(int)) ); + connect( angle, TQ_SIGNAL(valueChanged(int)), + cannonField, TQ_SLOT(setAngle(int)) ); + connect( cannonField, TQ_SIGNAL(angleChanged(int)), + angle, TQ_SLOT(setValue(int)) ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); //2x2, 10 pixel border |
