summaryrefslogtreecommitdiffstats
path: root/doc/layout.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/layout.doc')
-rw-r--r--doc/layout.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/layout.doc b/doc/layout.doc
index 89267b48c..777d3a114 100644
--- a/doc/layout.doc
+++ b/doc/layout.doc
@@ -196,9 +196,9 @@ You can insert layouts inside a layout by giving the parent layout as
a parameter in the constructor.
\code
TQWidget *main = new TQWidget;
- QLineEdit *field = new QLineEdit( main );
- QPushButton *ok = new QPushButton( "OK", main );
- QPushButton *cancel = new QPushButton( "Cancel", main );
+ TQLineEdit *field = new TQLineEdit( main );
+ TQPushButton *ok = new TQPushButton( "OK", main );
+ TQPushButton *cancel = new TQPushButton( "Cancel", main );
TQLabel *label = new TQLabel( "Write once, compile everywhere.", main );
// a layout on a widget