From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/simple-application.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/simple-application.html') diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index 0d51ba899..51631c84b 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, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) ); + a.connect( &a, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) ); return a.exec(); } @@ -141,7 +141,7 @@ 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, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) );
+
        a.connect( &a, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) );
 

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