diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/scrollview-example.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/scrollview-example.html')
-rw-r--r-- | doc/html/scrollview-example.html | 28 |
1 files changed, 14 insertions, 14 deletions
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 <a href="ntqmultilineedit.html">TQMultiLineEdit</a>(viewport(),"Another"); <a name="x657"></a> dragging-><a href="ntqtextedit.html#setText">setText</a>("Thanks!"); -<a name="x650"></a> dragging-><a href="ntqwidget.html#resize">resize</a>(100,100); +<a name="x650"></a> dragging-><a href="tqwidget.html#resize">resize</a>(100,100); addChild(dragging, x, y); showChild(dragging); } @@ -159,7 +159,7 @@ public: <a href="ntqstring.html">TQString</a> msg; msg.<a href="ntqstring.html#sprintf">sprintf</a>("at (%d,%d) %d by %d",cx,cy,w,h); dragging-><a href="ntqtextedit.html#setText">setText</a>(msg); - dragging-><a href="ntqwidget.html#resize">resize</a>(w,h); + dragging-><a href="tqwidget.html#resize">resize</a>(w,h); } } @@ -234,12 +234,12 @@ private: <a href="ntqpixmap.html">TQPixmap</a> bg; }; -class ScrollViewExample : public <a href="ntqwidget.html">TQWidget</a> { +class ScrollViewExample : public <a href="tqwidget.html">TQWidget</a> { TQ_OBJECT public: ScrollViewExample(int technique, TQWidget* parent=0, const char* name=0) : - <a href="ntqwidget.html">TQWidget</a>(parent,name) + <a href="tqwidget.html">TQWidget</a>(parent,name) { <a href="ntqmenubar.html">TQMenuBar</a>* menubar = new <a href="ntqmenubar.html">TQMenuBar</a>(this); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menubar ); @@ -270,7 +270,7 @@ public: vp = new <a href="ntqscrollview.html">TQScrollView</a>(this); <a name="x655"></a> BigShrinker *bs = new BigShrinker(0);//(vp-><a href="ntqscrollview.html#viewport">viewport</a>()); <a name="x645"></a> vp-><a href="ntqscrollview.html#addChild">addChild</a>(bs); -<a name="x659"></a> bs-><a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>(TRUE); +<a name="x659"></a> bs-><a href="tqwidget.html#setAcceptDrops">setAcceptDrops</a>(TRUE); TQObject::<a href="tqobject.html#connect">connect</a>(bs, TQ_SIGNAL(clicked(int,int)), <a name="x646"></a> vp, TQ_SLOT(<a href="ntqscrollview.html#center">center</a>(int,int))); } else { @@ -281,7 +281,7 @@ public: for (int i=0; i<30; i++) { <a href="ntqmultilineedit.html">TQMultiLineEdit</a> *l = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>(vp-><a href="ntqscrollview.html#viewport">viewport</a>(),"First"); l-><a href="ntqtextedit.html#setText">setText</a>("Drag out more of these."); - l-><a href="ntqwidget.html#resize">resize</a>(100,100); + l-><a href="tqwidget.html#resize">resize</a>(100,100); vp-><a href="ntqscrollview.html#addChild">addChild</a>(l, rand()%800, rand()%10000); } vp-><a href="ntqscrollview.html#viewport">viewport</a>()->setBackgroundMode(NoBackground); @@ -348,7 +348,7 @@ public: <a name="x630"></a> vbox-><a href="ntqlayout.html#activate">activate</a>(); corner = new <a href="ntqsizegrip.html">TQSizeGrip</a>(this); -<a name="x658"></a> corner-><a href="ntqwidget.html#hide">hide</a>(); +<a name="x658"></a> corner-><a href="tqwidget.html#hide">hide</a>(); } private slots: @@ -413,7 +413,7 @@ private slots: <a name="x628"></a> vp-><a href="ntqframe.html#setMargin">setMargin</a>(id&~mw_id); } -<a name="x662"></a> vp-><a href="ntqwidget.html#update">update</a>(); +<a name="x662"></a> vp-><a href="tqwidget.html#update">update</a>(); 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.<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); - ve1.<a href="ntqwidget.html#show">show</a>(); - ve2.<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); - ve2.<a href="ntqwidget.html#show">show</a>(); - ve3.<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); - ve3.<a href="ntqwidget.html#show">show</a>(); + ve1.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); + ve1.<a href="tqwidget.html#show">show</a>(); + ve2.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); + ve2.<a href="tqwidget.html#show">show</a>(); + ve3.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Scrollviews"); + ve3.<a href="tqwidget.html#show">show</a>(); TQObject::<a href="tqobject.html#connect">connect</a>(tqApp, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>())); |