From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- doc/html/tutorial1-04.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/tutorial1-04.html') diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index c28d5ca5..6d0f424a 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -63,7 +63,7 @@ public: quit->setGeometry( 62, 40, 75, 30 ); quit->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) ); + connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) ); } @@ -132,7 +132,7 @@ when you choose to, the child will automatically tell TQt about its imminent death.)

The setGeometry() call does the same as move() and resize() did in the previous chapters. -

        connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
+

        connect( quit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
     }
 

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, qApp. about its environment in order to be as general and reusable as possible.

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.

    int main( int argc, char **argv )
     {
-- 
cgit v1.2.1