diff options
author | Michele Calgaro <[email protected]> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /doc/html/tqmainwindow.html | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.tar.gz tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/tqmainwindow.html')
-rw-r--r-- | doc/html/tqmainwindow.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tqmainwindow.html b/doc/html/tqmainwindow.html index b8dd31c4c..41cfb23f0 100644 --- a/doc/html/tqmainwindow.html +++ b/doc/html/tqmainwindow.html @@ -353,26 +353,26 @@ the next session. You can do this by using the streaming operators for TQMainWindow. <p> To save the layout and positions of all the dock windows do this: <p> <pre> - <a href="ntqfile.html">TQFile</a> file( filename ); - if ( file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ) ) { + <a href="tqfile.html">TQFile</a> file( filename ); + if ( file.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ) ) { <a href="tqtextstream.html">TQTextStream</a> stream( &file ); stream << *mainWindow; - file.<a href="ntqfile.html#close">close</a>(); + file.<a href="tqfile.html#close">close</a>(); } </pre> <p> To restore the dock window positions and sizes (normally when the application is next started), do following: <p> <pre> - <a href="ntqfile.html">TQFile</a> file( filename ); - if ( file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ) ) { + <a href="tqfile.html">TQFile</a> file( filename ); + if ( file.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) ) { <a href="tqtextstream.html">TQTextStream</a> stream( &file ); stream >> *mainWindow; - file.<a href="ntqfile.html#close">close</a>(); + file.<a href="tqfile.html#close">close</a>(); } </pre> -<p> The <a href="ntqsettings.html">TQSettings</a> class can be used in conjunction with the streaming +<p> The <a href="tqsettings.html">TQSettings</a> class can be used in conjunction with the streaming operators to store the application's settings. <p> TQMainWindow's management of dock windows and toolbars is done transparently behind-the-scenes by <a href="ntqdockarea.html">TQDockArea</a>. @@ -926,7 +926,7 @@ and for connecting to the main window's widget's <p> Writes the layout (sizes and positions) of the dock windows in the dock areas of the TQMainWindow <em>mainWindow</em>, including <a href="ntqt.html#Dock-enum">Minimized</a> and <a href="ntqt.html#Dock-enum">TornOff</a> dock windows, to the text stream <em>ts</em>. -<p> This can be used, for example, in conjunction with <a href="ntqsettings.html">TQSettings</a> to +<p> This can be used, for example, in conjunction with <a href="tqsettings.html">TQSettings</a> to save the user's layout when the \mainWindow receives a closeEvent. <p> <p>See also <a href="#operator-gt-gt">operator>></a>() and <a href="tqwidget.html#closeEvent">closeEvent</a>(). @@ -939,7 +939,7 @@ dock areas of the TQMainWindow <em>mainWindow</em> from the text stream, Restores the dock windows and dock areas to these sizes and positions. The layout information must be in the format produced by <a href="#operator-lt-lt">operator<<</a>(). -<p> This can be used, for example, in conjunction with <a href="ntqsettings.html">TQSettings</a> to +<p> This can be used, for example, in conjunction with <a href="tqsettings.html">TQSettings</a> to restore the user's layout. <p> <p>See also <a href="#operator-lt-lt">operator<<</a>(). |