summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqscrollview.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqscrollview.3qt')
-rw-r--r--doc/man/man3/tqscrollview.3qt22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt
index 55f564f02..baf27b35a 100644
--- a/doc/man/man3/tqscrollview.3qt
+++ b/doc/man/man3/tqscrollview.3qt
@@ -336,17 +336,17 @@ You can go on to add arbitrary child widgets to the single child in the scrollvi
.PP
.nf
.br
- QLabel* child1 = new QLabel("CHILD", big_box);
+ TQLabel* child1 = new TQLabel("CHILD", big_box);
.br
- QLabel* child2 = new QLabel("CHILD", big_box);
+ TQLabel* child2 = new TQLabel("CHILD", big_box);
.br
- QLabel* child3 = new QLabel("CHILD", big_box);
+ TQLabel* child3 = new TQLabel("CHILD", big_box);
.br
...
.br
.fi
.PP
-Here the QScrollView has four children: the viewport(), the verticalScrollBar(), the horizontalScrollBar() and a small cornerWidget(). The viewport() has one child: the big QVBox. The QVBox has the three QLabel objects as child widgets. When the view is scrolled, the QVBox is moved; its children move with it as child widgets normally do.
+Here the QScrollView has four children: the viewport(), the verticalScrollBar(), the horizontalScrollBar() and a small cornerWidget(). The viewport() has one child: the big QVBox. The QVBox has the three TQLabel objects as child widgets. When the view is scrolled, the QVBox is moved; its children move with it as child widgets normally do.
.SH "Using a Very Big View with Some Widgets"
<center>
.ce 1
@@ -360,20 +360,20 @@ The second usage of QScrollView (depicted above) is appropriate when few, if any
.br
QScrollView* sv = new QScrollView(...);
.br
- QLabel* child1 = new QLabel("CHILD", sv->viewport());
+ TQLabel* child1 = new TQLabel("CHILD", sv->viewport());
.br
sv->addChild(child1);
.br
- QLabel* child2 = new QLabel("CHILD", sv->viewport());
+ TQLabel* child2 = new TQLabel("CHILD", sv->viewport());
.br
sv->addChild(child2);
.br
- QLabel* child3 = new QLabel("CHILD", sv->viewport());
+ TQLabel* child3 = new TQLabel("CHILD", sv->viewport());
.br
sv->addChild(child3);
.br
.fi
-Here, the QScrollView has the same four children: the viewport(), the verticalScrollBar(), the horizontalScrollBar() and a small cornerWidget(). The viewport() has the three QLabel objects as child widgets. When the view is scrolled, the scrollview moves the child widgets individually.
+Here, the QScrollView has the same four children: the viewport(), the verticalScrollBar(), the horizontalScrollBar() and a small cornerWidget(). The viewport() has the three TQLabel objects as child widgets. When the view is scrolled, the scrollview moves the child widgets individually.
.SH "Using a Very Big View with Many Widgets"
<center>
.ce 1
@@ -389,15 +389,15 @@ The final usage of QScrollView (depicted above) is appropriate when many widgets
.br
sv->enableClipper(TRUE);
.br
- QLabel* child1 = new QLabel("CHILD", sv->viewport());
+ TQLabel* child1 = new TQLabel("CHILD", sv->viewport());
.br
sv->addChild(child1);
.br
- QLabel* child2 = new QLabel("CHILD", sv->viewport());
+ TQLabel* child2 = new TQLabel("CHILD", sv->viewport());
.br
sv->addChild(child2);
.br
- QLabel* child3 = new QLabel("CHILD", sv->viewport());
+ TQLabel* child3 = new TQLabel("CHILD", sv->viewport());
.br
sv->addChild(child3);
.br