diff options
Diffstat (limited to 'doc/html/qdir-example.html')
-rw-r--r-- | doc/html/qdir-example.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/qdir-example.html b/doc/html/qdir-example.html index b540a69a2..ffd1d77f9 100644 --- a/doc/html/qdir-example.html +++ b/doc/html/qdir-example.html @@ -49,10 +49,10 @@ body { background: #ffffff; color: black; } #include "ntqdir.h" #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qtextview-h.html">ntqtextview.h</a>> +#include <<a href="tqtextview-h.html">tqtextview.h</a>> #include <<a href="qfileinfo-h.html">ntqfileinfo.h</a>> #include <<a href="qfile-h.html">ntqfile.h</a>> -#include <<a href="qtextstream-h.html">ntqtextstream.h</a>> +#include <<a href="tqtextstream-h.html">tqtextstream.h</a>> #include <<a href="qhbox-h.html">ntqhbox.h</a>> #include <<a href="qspinbox-h.html">ntqspinbox.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; } #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> #include <<a href="qtoolbutton-h.html">ntqtoolbutton.h</a>> #include <<a href="qfile-h.html">ntqfile.h</a>> -#include <<a href="qtextstream-h.html">ntqtextstream.h</a>> +#include <<a href="tqtextstream-h.html">tqtextstream.h</a>> #include <<a href="qtooltip-h.html">ntqtooltip.h</a>> #include <stdlib.h> @@ -147,8 +147,8 @@ void <a name="f496"></a>PixmapView::setPixmap( const <a href="ntqpixmap.html">TQ : <a href="tqwidgetstack.html">TQWidgetStack</a>( parent ) { normalText = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>( this ); -<a name="x1845"></a> normalText-><a href="ntqtextedit.html#setReadOnly">setReadOnly</a>( TRUE ); - html = new <a href="ntqtextview.html">TQTextView</a>( this ); +<a name="x1845"></a> normalText-><a href="tqtextedit.html#setReadOnly">setReadOnly</a>( TRUE ); + html = new <a href="tqtextview.html">TQTextView</a>( this ); pixmap = new PixmapView( this ); <a href="tqwidgetstack.html#raiseWidget">raiseWidget</a>( normalText ); } @@ -159,7 +159,7 @@ void <a name="f498"></a>Preview::showPreview( const <a href="ntqurl.html">TQUrl< <a name="x1850"></a> <a href="tqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>(); <a href="ntqfileinfo.html">TQFileInfo</a> fi( path ); <a name="x1825"></a><a name="x1824"></a> if ( fi.<a href="ntqfileinfo.html#isFile">isFile</a>() && (int)fi.<a href="ntqfileinfo.html#size">size</a>() > size * 1000 ) { -<a name="x1846"></a> normalText-><a href="ntqtextedit.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>( "The File\n%1\nis too large, so I don't show it!" ).arg( path ) ); +<a name="x1846"></a> normalText-><a href="tqtextedit.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>( "The File\n%1\nis too large, so I don't show it!" ).arg( path ) ); <a href="tqwidgetstack.html#raiseWidget">raiseWidget</a>( normalText ); return; } @@ -169,29 +169,29 @@ void <a name="f498"></a>Preview::showPreview( const <a href="ntqurl.html">TQUrl< if ( fi.<a href="ntqfileinfo.html#isFile">isFile</a>() ) { <a href="ntqfile.html">TQFile</a> f( path ); <a name="x1815"></a> if ( f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ) ) { - <a href="ntqtextstream.html">TQTextStream</a> ts( &f ); -<a name="x1847"></a> <a href="tqstring.html">TQString</a> text = ts.<a href="ntqtextstream.html#read">read</a>(); + <a href="tqtextstream.html">TQTextStream</a> ts( &f ); +<a name="x1847"></a> <a href="tqstring.html">TQString</a> text = ts.<a href="tqtextstream.html#read">read</a>(); <a name="x1814"></a> f.<a href="ntqfile.html#close">close</a>(); <a name="x1823"></a> if ( fi.<a href="ntqfileinfo.html#extension">extension</a>().lower().contains( "htm" ) ) { -<a name="x1844"></a><a name="x1843"></a> <a href="tqstring.html">TQString</a> url = html-><a href="ntqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>()->makeAbsolute( path, html-><a href="ntqtextedit.html#context">context</a>() ); - html-><a href="ntqtextedit.html#setText">setText</a>( text, url ); +<a name="x1844"></a><a name="x1843"></a> <a href="tqstring.html">TQString</a> url = html-><a href="tqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>()->makeAbsolute( path, html-><a href="tqtextedit.html#context">context</a>() ); + html-><a href="tqtextedit.html#setText">setText</a>( text, url ); raiseWidget( html ); return; } else { - normalText-><a href="ntqtextedit.html#setText">setText</a>( text ); + normalText-><a href="tqtextedit.html#setText">setText</a>( text ); raiseWidget( normalText ); return; } } } - normalText-><a href="ntqtextedit.html#setText">setText</a>( <a href="tqstring.html#TQString-null">TQString::null</a> ); + normalText-><a href="tqtextedit.html#setText">setText</a>( <a href="tqstring.html#TQString-null">TQString::null</a> ); raiseWidget( normalText ); } else { pixmap->setPixmap( pix ); raiseWidget( pixmap ); } } else { - normalText-><a href="ntqtextedit.html#setText">setText</a>( "I only show local files!" ); + normalText-><a href="tqtextedit.html#setText">setText</a>( "I only show local files!" ); raiseWidget( normalText ); } } |