From 397b7afa8e3f32268c4454bf4783ac2a5a799658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 15 Oct 2024 13:05:33 +0900 Subject: Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/scrollview-example.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/html/scrollview-example.html') diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 8b11778cc..a9d8d4a43 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -47,7 +47,7 @@ optimized for very large contents. *****************************************************************************/ #include <tqscrollview.h> -#include <ntqapplication.h> +#include <tqapplication.h> #include <tqmenubar.h> #include <tqpopupmenu.h> #include <tqpushbutton.h> @@ -82,7 +82,7 @@ public: for (int y=0; y<2000-h; y+=h+10) { if (y == 0) { TQButton* q=new TQPushButton("Quit", this); - connect(q, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit())); + connect(q, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit())); } else { TQString str; if ( b > 0 ) { @@ -241,15 +241,15 @@ public: TQWidget(parent,name) { TQMenuBar* menubar = new TQMenuBar(this); - TQ_CHECK_PTR( menubar ); + TQ_CHECK_PTR( menubar ); TQPopupMenu* file = new TQPopupMenu( menubar ); - TQ_CHECK_PTR( file ); + TQ_CHECK_PTR( file ); menubar->insertItem( "&File", file ); - file->insertItem( "Quit", tqApp, TQ_SLOT(quit()) ); + file->insertItem( "Quit", tqApp, TQ_SLOT(quit()) ); vp_options = new TQPopupMenu( menubar ); - TQ_CHECK_PTR( vp_options ); + TQ_CHECK_PTR( vp_options ); vp_options->setCheckable( TRUE ); menubar->insertItem( "&ScrollView", vp_options ); connect( vp_options, TQ_SIGNAL(activated(int)), @@ -287,7 +287,7 @@ public: } f_options = new TQPopupMenu( menubar ); - TQ_CHECK_PTR( f_options ); + TQ_CHECK_PTR( f_options ); f_options->setCheckable( TRUE ); menubar->insertItem( "F&rame", f_options ); connect( f_options, TQ_SIGNAL(activated(int)), @@ -304,7 +304,7 @@ public: f_options->insertItem( "Sunken", style_id|TQFrame::Sunken )); f_options->insertSeparator(); lw_options = new TQPopupMenu( menubar ); - TQ_CHECK_PTR( lw_options ); + TQ_CHECK_PTR( lw_options ); lw_options->setCheckable( TRUE ); for (int lw = 1; lw <= max_lw; lw++) { TQString str; @@ -315,7 +315,7 @@ public: connect( lw_options, TQ_SIGNAL(activated(int)), this, TQ_SLOT(doFMenuItem(int)) ); mlw_options = new TQPopupMenu( menubar ); - TQ_CHECK_PTR( mlw_options ); + TQ_CHECK_PTR( mlw_options ); mlw_options->setCheckable( TRUE ); for (int mlw = 0; mlw <= max_mlw; mlw++) { TQString str; @@ -326,7 +326,7 @@ public: connect( mlw_options, TQ_SIGNAL(activated(int)), this, TQ_SLOT(doFMenuItem(int)) ); mw_options = new TQPopupMenu( menubar ); - TQ_CHECK_PTR( mw_options ); + TQ_CHECK_PTR( mw_options ); mw_options->setCheckable( TRUE ); for (int mw = 0; mw <= max_mw; mw++) { TQString str; @@ -460,7 +460,7 @@ private: int main( int argc, char **argv ) { - TQApplication a( argc, argv ); + TQApplication a( argc, argv ); ScrollViewExample ve1(1,0,"ve1"); ScrollViewExample ve2(2,0,"ve2"); @@ -472,9 +472,9 @@ int main( int argc, char **argv ) ve3.setCaption("TQt Example - Scrollviews"); ve3.show(); - TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit())); + TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit())); - return a.exec(); + return a.exec(); } #include "scrollview.moc" -- cgit v1.2.1