summaryrefslogtreecommitdiffstats
path: root/doc/html/scrollview-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:07:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:22:42 +0900
commit8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch)
treeb95884617b9a37accc843676d5d42be4116a3f54 /doc/html/scrollview-example.html
parent68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff)
downloadtqt3-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.html28
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-&gt;x(), e-&gt;y(), x, y );
dragging = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>(viewport(),"Another");
<a name="x657"></a> dragging-&gt;<a href="ntqtextedit.html#setText">setText</a>("Thanks!");
-<a name="x650"></a> dragging-&gt;<a href="ntqwidget.html#resize">resize</a>(100,100);
+<a name="x650"></a> dragging-&gt;<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-&gt;<a href="ntqtextedit.html#setText">setText</a>(msg);
- dragging-&gt;<a href="ntqwidget.html#resize">resize</a>(w,h);
+ dragging-&gt;<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-&gt;<a href="ntqscrollview.html#viewport">viewport</a>());
<a name="x645"></a> vp-&gt;<a href="ntqscrollview.html#addChild">addChild</a>(bs);
-<a name="x659"></a> bs-&gt;<a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>(TRUE);
+<a name="x659"></a> bs-&gt;<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&lt;30; i++) {
<a href="ntqmultilineedit.html">TQMultiLineEdit</a> *l = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>(vp-&gt;<a href="ntqscrollview.html#viewport">viewport</a>(),"First");
l-&gt;<a href="ntqtextedit.html#setText">setText</a>("Drag out more of these.");
- l-&gt;<a href="ntqwidget.html#resize">resize</a>(100,100);
+ l-&gt;<a href="tqwidget.html#resize">resize</a>(100,100);
vp-&gt;<a href="ntqscrollview.html#addChild">addChild</a>(l, rand()%800, rand()%10000);
}
vp-&gt;<a href="ntqscrollview.html#viewport">viewport</a>()-&gt;setBackgroundMode(NoBackground);
@@ -348,7 +348,7 @@ public:
<a name="x630"></a> vbox-&gt;<a href="ntqlayout.html#activate">activate</a>();
corner = new <a href="ntqsizegrip.html">TQSizeGrip</a>(this);
-<a name="x658"></a> corner-&gt;<a href="ntqwidget.html#hide">hide</a>();
+<a name="x658"></a> corner-&gt;<a href="tqwidget.html#hide">hide</a>();
}
private slots:
@@ -413,7 +413,7 @@ private slots:
<a name="x628"></a> vp-&gt;<a href="ntqframe.html#setMargin">setMargin</a>(id&amp;~mw_id);
}
-<a name="x662"></a> vp-&gt;<a href="ntqwidget.html#update">update</a>();
+<a name="x662"></a> vp-&gt;<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>()));