summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqobject.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqobject.3qt')
-rw-r--r--doc/man/man3/tqobject.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt
index 81f079cf3..8a640eb63 100644
--- a/doc/man/man3/tqobject.3qt
+++ b/doc/man/man3/tqobject.3qt
@@ -603,7 +603,7 @@ Example:
.br
t->inherits( "TQObject" ); // returns TRUE
.br
- t->inherits( "QButton" ); // returns FALSE
+ t->inherits( "TQButton" ); // returns FALSE
.br
.br
// TQScrollBar inherits TQWidget and QRangeControl
@@ -692,7 +692,7 @@ And here's how to install it on two widgets:
.br
TQPushButton *pushButton = new TQPushButton( this );
.br
- QListView *listView = new QListView( this );
+ TQListView *listView = new TQListView( this );
.br
.br
pushButton->installEventFilter( keyPressEater );
@@ -789,7 +789,7 @@ This somewhat contrived example disables all the buttons in this window:
.PP
.nf
.br
- TQObjectList *l = topLevelWidget()->queryList( "QButton" );
+ TQObjectList *l = topLevelWidget()->queryList( "TQButton" );
.br
TQObjectListIt it( *l ); // iterate over the buttons
.br
@@ -802,7 +802,7 @@ This somewhat contrived example disables all the buttons in this window:
.br
++it;
.br
- ((QButton*)obj)->setEnabled( FALSE );
+ ((TQButton*)obj)->setEnabled( FALSE );
.br
}
.br
@@ -966,7 +966,7 @@ Returns 0 if there is no such child.
.PP
.nf
.br
- QListBox *c = (QListBox *) tqt_find_obj_child( myWidget, "QListBox",
+ TQListBox *c = (TQListBox *) tqt_find_obj_child( myWidget, "TQListBox",
.br
"my list box" );
.br