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 /doc/html/t12-main-cpp.html | |
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 'doc/html/t12-main-cpp.html')
-rw-r--r-- | doc/html/t12-main-cpp.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/t12-main-cpp.html b/doc/html/t12-main-cpp.html index cdfc499dc..a779a4a02 100644 --- a/doc/html/t12-main-cpp.html +++ b/doc/html/t12-main-cpp.html @@ -61,7 +61,7 @@ public: <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="ntqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -71,20 +71,20 @@ public: CannonField *cannonField = new CannonField( this, "cannonField" ); - <a href="ntqobject.html#connect">connect</a>( angle, SIGNAL(valueChanged(int)), - cannonField, SLOT(setAngle(int)) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, SIGNAL(angleChanged(int)), - angle, SLOT(setValue(int)) ); + <a href="ntqobject.html#connect">connect</a>( angle, TQ_SIGNAL(valueChanged(int)), + cannonField, TQ_SLOT(setAngle(int)) ); + <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(angleChanged(int)), + angle, TQ_SLOT(setValue(int)) ); - <a href="ntqobject.html#connect">connect</a>( force, SIGNAL(valueChanged(int)), - cannonField, SLOT(setForce(int)) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, SIGNAL(forceChanged(int)), - force, SLOT(setValue(int)) ); + <a href="ntqobject.html#connect">connect</a>( force, TQ_SIGNAL(valueChanged(int)), + cannonField, TQ_SLOT(setForce(int)) ); + <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(forceChanged(int)), + force, TQ_SLOT(setValue(int)) ); <a href="ntqpushbutton.html">TQPushButton</a> *shoot = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Shoot", this, "shoot" ); shoot-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( shoot, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), cannonField, SLOT(shoot()) ); + <a href="ntqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), cannonField, TQ_SLOT(shoot()) ); <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 ); grid-><a href="qgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 ); |