From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/scrollview-example.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/scrollview-example.html') diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 04001beba..41788d0fa 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -137,7 +137,7 @@ public: viewportToContents( e->x(), e->y(), x, y ); dragging = new TQMultiLineEdit(viewport(),"Another"); dragging->setText("Thanks!"); - dragging->resize(100,100); + dragging->resize(100,100); addChild(dragging, x, y); showChild(dragging); } @@ -159,7 +159,7 @@ public: TQString msg; msg.sprintf("at (%d,%d) %d by %d",cx,cy,w,h); dragging->setText(msg); - dragging->resize(w,h); + dragging->resize(w,h); } } @@ -234,12 +234,12 @@ private: TQPixmap bg; }; -class ScrollViewExample : public TQWidget { +class ScrollViewExample : public TQWidget { TQ_OBJECT public: ScrollViewExample(int technique, TQWidget* parent=0, const char* name=0) : - TQWidget(parent,name) + TQWidget(parent,name) { TQMenuBar* menubar = new TQMenuBar(this); TQ_CHECK_PTR( menubar ); @@ -270,7 +270,7 @@ public: vp = new TQScrollView(this); BigShrinker *bs = new BigShrinker(0);//(vp->viewport()); vp->addChild(bs); - bs->setAcceptDrops(TRUE); + bs->setAcceptDrops(TRUE); TQObject::connect(bs, TQ_SIGNAL(clicked(int,int)), vp, TQ_SLOT(center(int,int))); } else { @@ -281,7 +281,7 @@ public: for (int i=0; i<30; i++) { TQMultiLineEdit *l = new TQMultiLineEdit(vp->viewport(),"First"); l->setText("Drag out more of these."); - l->resize(100,100); + l->resize(100,100); vp->addChild(l, rand()%800, rand()%10000); } vp->viewport()->setBackgroundMode(NoBackground); @@ -348,7 +348,7 @@ public: vbox->activate(); corner = new TQSizeGrip(this); - corner->hide(); + corner->hide(); } private slots: @@ -413,7 +413,7 @@ private slots: vp->setMargin(id&~mw_id); } - vp->update(); + vp->update(); setFMenuItems(); } @@ -466,12 +466,12 @@ int main( int argc, char **argv ) ScrollViewExample ve1(1,0,"ve1"); ScrollViewExample ve2(2,0,"ve2"); ScrollViewExample ve3(3,0,"ve3"); - ve1.setCaption("TQt Example - Scrollviews"); - ve1.show(); - ve2.setCaption("TQt Example - Scrollviews"); - ve2.show(); - ve3.setCaption("TQt Example - Scrollviews"); - ve3.show(); + ve1.setCaption("TQt Example - Scrollviews"); + ve1.show(); + ve2.setCaption("TQt Example - Scrollviews"); + ve2.show(); + ve3.setCaption("TQt Example - Scrollviews"); + ve3.show(); TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit())); -- cgit v1.2.3