From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- doc/html/tutorial1-02.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/tutorial1-02.html') diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html index 0d6ce1088..32972c016 100644 --- a/doc/html/tutorial1-02.html +++ b/doc/html/tutorial1-02.html @@ -55,7 +55,7 @@ int main( int argc, char **argv ) quit.resize( 75, 30 ); quit.setFont( TQFont( "Times", 18, TQFont::Bold ) ); - TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) ); + TQObject::connect( &quit, TQ_SIGNAL(clicked()), &a, TQ_SLOT(quit()) ); a.setMainWidget( &quit ); quit.show(); @@ -87,7 +87,7 @@ to set right size.

Here we choose a new font for the button, an 18-point bold font from the Times family. Note that we create the font on the spot.

It is also possible to change the default font (using TQApplication::setFont()) for the whole application. -

        TQObject::connect( &quit, SIGNAL(clicked()), &a, SLOT(quit()) );
+

        TQObject::connect( &quit, TQ_SIGNAL(clicked()), &a, TQ_SLOT(quit()) );
 

connect() is perhaps the most central feature of TQt. Note that connect() is a static function in TQObject. Do not confuse it -- cgit v1.2.3