diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /doc/html/tutorial1-04.html | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'doc/html/tutorial1-04.html')
-rw-r--r-- | doc/html/tutorial1-04.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index c28d5ca57..6d0f424ac 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -63,7 +63,7 @@ public: quit-><a href="ntqwidget.html#setGeometry">setGeometry</a>( 62, 40, 75, 30 ); 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>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <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>()) ); } @@ -132,7 +132,7 @@ when you choose to, the child will automatically tell TQt about its imminent death.) <p> The setGeometry() call does the same as move() and resize() did in the previous chapters. -<p> <pre> <a name="x2306"></a><a name="x2304"></a> <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<p> <pre> <a name="x2306"></a><a name="x2304"></a> <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>()) ); } </pre> <p> Because the MyWidget class doesn't know about the application object, it @@ -141,7 +141,7 @@ has to connect to TQt's pointer to it, <tt>qApp</tt>. about its environment in order to be as general and reusable as possible. <p> Knowing the name of the application object would break this principle, -so TQt offers an alias, qApp, for the cases in which a component such as +so TQt offers an alias, tqApp, for the cases in which a component such as MyWidget needs to talk to the application object. <p> <pre> int main( int argc, char **argv ) { |