diff options
Diffstat (limited to 'doc/man/man3/tqmainwindow.3qt')
-rw-r--r-- | doc/man/man3/tqmainwindow.3qt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt index 244760e10..0d7f189ec 100644 --- a/doc/man/man3/tqmainwindow.3qt +++ b/doc/man/man3/tqmainwindow.3qt @@ -238,10 +238,10 @@ Inherits TQWidget. .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "QTextStream & \fBoperator<<\fR ( QTextStream & ts, const QMainWindow & mainWindow )" +.BI "TQTextStream & \fBoperator<<\fR ( TQTextStream & ts, const QMainWindow & mainWindow )" .br .ti -1c -.BI "QTextStream & \fBoperator>>\fR ( QTextStream & ts, QMainWindow & mainWindow )" +.BI "TQTextStream & \fBoperator>>\fR ( TQTextStream & ts, QMainWindow & mainWindow )" .br .in -1c .SH DESCRIPTION @@ -253,7 +253,7 @@ Main windows are most often used to provide menus, toolbars and a status bar aro .br QMainWindow *mw = new QMainWindow; .br - QTextEdit *edit = new QTextEdit( mw, "editor" ); + TQTextEdit *edit = new TQTextEdit( mw, "editor" ); .br edit->setFocus(); .br @@ -312,7 +312,7 @@ This extract shows the creation of a toolbar with one toolbar button. QMainWindo .PP .nf .br - e = new QTextEdit( this, "editor" ); + e = new TQTextEdit( this, "editor" ); .br e->setFocus(); .br @@ -422,7 +422,7 @@ To save the layout and positions of all the dock windows do this: .br if ( file.open( IO_WriteOnly ) ) { .br - QTextStream stream( &file ); + TQTextStream stream( &file ); .br stream << *mainWindow; .br @@ -440,7 +440,7 @@ To restore the dock window positions and sizes (normally when the application is .br if ( file.open( IO_ReadOnly ) ) { .br - QTextStream stream( &file ); + TQTextStream stream( &file ); .br stream >> *mainWindow; .br @@ -806,13 +806,13 @@ See also QToolButton::usesTextLabel. .PP Set this property's value with setUsesTextLabel() and get this property's value with usesTextLabel(). .SH RELATED FUNCTION DOCUMENTATION -.SH "QTextStream & operator<< ( QTextStream & ts, const QMainWindow & mainWindow )" +.SH "TQTextStream & operator<< ( TQTextStream & ts, const QMainWindow & mainWindow )" Writes the layout (sizes and positions) of the dock windows in the dock areas of the QMainWindow \fImainWindow\fR, including Minimized and TornOff dock windows, to the text stream \fIts\fR. .PP This can be used, for example, in conjunction with QSettings to save the user's layout when the \\mainWindow receives a closeEvent. .PP See also operator>>() and closeEvent(). -.SH "QTextStream & operator>> ( QTextStream & ts, QMainWindow & mainWindow )" +.SH "TQTextStream & operator>> ( TQTextStream & ts, QMainWindow & mainWindow )" Reads the layout (sizes and positions) of the dock windows in the dock areas of the QMainWindow \fImainWindow\fR from the text stream, \fIts\fR, including Minimized and TornOff dock windows. Restores the dock windows and dock areas to these sizes and positions. The layout information must be in the format produced by operator<<(). .PP This can be used, for example, in conjunction with QSettings to restore the user's layout. |