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/scrollview-example.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/html/scrollview-example.html') diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 209d2ace4..c100228e5 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -83,7 +83,7 @@ public: for (int y=0; y<2000-h; y+=h+10) { if (y == 0) { TQButton* q=new TQPushButton("Quit", this); - connect(q, SIGNAL(clicked()), tqApp, SLOT(quit())); + connect(q, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit())); } else { TQString str; if ( b > 0 ) { @@ -247,14 +247,14 @@ public: TQPopupMenu* file = new TQPopupMenu( menubar ); TQ_CHECK_PTR( file ); menubar->insertItem( "&File", file ); - file->insertItem( "Quit", tqApp, SLOT(quit()) ); + file->insertItem( "Quit", tqApp, TQ_SLOT(quit()) ); vp_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( vp_options ); vp_options->setCheckable( TRUE ); menubar->insertItem( "&ScrollView", vp_options ); - connect( vp_options, SIGNAL(activated(int)), - this, SLOT(doVPMenuItem(int)) ); + connect( vp_options, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(doVPMenuItem(int)) ); vauto_id = vp_options->insertItem( "Vertical Auto" ); vaoff_id = vp_options->insertItem( "Vertical AlwaysOff" ); @@ -271,8 +271,8 @@ public: BigShrinker *bs = new BigShrinker(0);//(vp->viewport()); vp->addChild(bs); bs->setAcceptDrops(TRUE); - TQObject::connect(bs, SIGNAL(clicked(int,int)), - vp, SLOT(center(int,int))); + TQObject::connect(bs, TQ_SIGNAL(clicked(int,int)), + vp, TQ_SLOT(center(int,int))); } else { vp = new BigMatrix(this); if ( technique == 3 ) @@ -291,8 +291,8 @@ public: TQ_CHECK_PTR( f_options ); f_options->setCheckable( TRUE ); menubar->insertItem( "F&rame", f_options ); - connect( f_options, SIGNAL(activated(int)), - this, SLOT(doFMenuItem(int)) ); + connect( f_options, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(doFMenuItem(int)) ); f_options->insertItem( "No Frame", style_id ); f_options->insertItem( "Box", style_id|TQFrame::Box ); @@ -313,8 +313,8 @@ public: lw_options->insertItem( str, lw_id | lw ); } f_options->insertItem( "Line Width", lw_options ); - connect( lw_options, SIGNAL(activated(int)), - this, SLOT(doFMenuItem(int)) ); + connect( lw_options, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(doFMenuItem(int)) ); mlw_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( mlw_options ); mlw_options->setCheckable( TRUE ); @@ -324,8 +324,8 @@ public: mlw_options->insertItem( str, mlw_id | mlw ); } f_options->insertItem( "Midline Width", mlw_options ); - connect( mlw_options, SIGNAL(activated(int)), - this, SLOT(doFMenuItem(int)) ); + connect( mlw_options, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(doFMenuItem(int)) ); mw_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( mw_options ); mw_options->setCheckable( TRUE ); @@ -335,8 +335,8 @@ public: mw_options->insertItem( str, mw_id | mw ); } f_options->insertItem( "Margin Width", mw_options ); - connect( mw_options, SIGNAL(activated(int)), - this, SLOT(doFMenuItem(int)) ); + connect( mw_options, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(doFMenuItem(int)) ); setVPMenuItems(); setFMenuItems(); @@ -473,7 +473,7 @@ int main( int argc, char **argv ) ve3.setCaption("TQt Example - Scrollviews"); ve3.show(); - TQObject::connect(tqApp, SIGNAL(lastWindowClosed()), tqApp, SLOT(quit())); + TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit())); return a.exec(); } -- cgit v1.2.1