From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- doc/html/simple-application.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/simple-application.html') diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index 239908cd7..b029bc846 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -118,7 +118,7 @@ int main( int argc, char ** argv ) { ApplicationWindow *mw = new ApplicationWindow(); mw->setCaption( "TQt Example - Application" ); mw->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } @@ -141,9 +141,9 @@ behave the way X clients are expected to.

We create an ApplicationWindow as a top-level widget, set its window system caption to "Document 1", and show() it.

-

        a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) );
+
        a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
 
-

When the application's last window is closed, it should tquit. Both +

When the application's last window is closed, it should quit. Both the signal and the slot are predefined members of TQApplication.

        return a.exec();
 
@@ -157,7 +157,7 @@ that TQApplication returns when it leaves the event loop.

-

Since the implementation is tquite large (almost 300 lines) we +

Since the implementation is quite large (almost 300 lines) we won't list the whole thing. (The source code is included in the examples/application directory.) Before we start with the constructor there are three #includes worth mentioning: -- cgit v1.2.1