summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/simple-application-example.html')
-rw-r--r--doc/html/simple-application-example.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html
index d69636988..764656365 100644
--- a/doc/html/simple-application-example.html
+++ b/doc/html/simple-application-example.html
@@ -110,8 +110,8 @@ private:
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="tqtextedit-h.html">tqtextedit.h</a>&gt;
-#include &lt;<a href="qfile-h.html">ntqfile.h</a>&gt;
-#include &lt;<a href="qfiledialog-h.html">ntqfiledialog.h</a>&gt;
+#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
+#include &lt;<a href="tqfiledialog-h.html">tqfiledialog.h</a>&gt;
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="qprinter-h.html">ntqprinter.h</a>&gt;
@@ -243,7 +243,7 @@ void <a name="f460"></a>ApplicationWindow::newDoc()
void <a name="f461"></a>ApplicationWindow::choose()
{
-<a name="x1549"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null,
+<a name="x1549"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null,
this);
if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() )
load( fn );
@@ -254,8 +254,8 @@ void <a name="f461"></a>ApplicationWindow::choose()
void <a name="f462"></a>ApplicationWindow::load( const <a href="tqstring.html">TQString</a> &amp;fileName )
{
- <a href="ntqfile.html">TQFile</a> f( fileName );
-<a name="x1548"></a> if ( !f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ) )
+ <a href="tqfile.html">TQFile</a> f( fileName );
+<a name="x1548"></a> if ( !f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) )
return;
<a href="tqtextstream.html">TQTextStream</a> ts( &amp;f );
@@ -274,8 +274,8 @@ void <a name="f463"></a>ApplicationWindow::save()
}
<a name="x1588"></a> <a href="tqstring.html">TQString</a> text = e-&gt;<a href="tqtextedit.html#text">text</a>();
- <a href="ntqfile.html">TQFile</a> f( filename );
- if ( !f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ) ) {
+ <a href="tqfile.html">TQFile</a> f( filename );
+ if ( !f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ) ) {
<a href="tqmainwindow.html#statusBar">statusBar</a>()-&gt;message( TQString("Could not write to %1").arg(filename),
2000 );
return;
@@ -283,7 +283,7 @@ void <a name="f463"></a>ApplicationWindow::save()
<a href="tqtextstream.html">TQTextStream</a> t( &amp;f );
t &lt;&lt; text;
- f.<a href="ntqfile.html#close">close</a>();
+ f.<a href="tqfile.html#close">close</a>();
e-&gt;<a href="tqtextedit.html#setModified">setModified</a>( FALSE );
@@ -295,7 +295,7 @@ void <a name="f463"></a>ApplicationWindow::save()
void <a name="f464"></a>ApplicationWindow::saveAs()
{
-<a name="x1550"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null,
+<a name="x1550"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null,
this );
if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) {
filename = fn;