summaryrefslogtreecommitdiffstats
path: root/doc/html/tqdir-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqdir-example.html')
-rw-r--r--doc/html/tqdir-example.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/tqdir-example.html b/doc/html/tqdir-example.html
index fcb68d84e..cc84fea51 100644
--- a/doc/html/tqdir-example.html
+++ b/doc/html/tqdir-example.html
@@ -54,14 +54,14 @@ body { background: #ffffff; color: black; }
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
#include &lt;<a href="qhbox-h.html">ntqhbox.h</a>&gt;
-#include &lt;<a href="qspinbox-h.html">ntqspinbox.h</a>&gt;
+#include &lt;<a href="tqspinbox-h.html">tqspinbox.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="qmultilineedit-h.html">ntqmultilineedit.h</a>&gt;
#include &lt;<a href="qheader-h.html">ntqheader.h</a>&gt;
#include &lt;<a href="tqevent-h.html">tqevent.h</a>&gt;
#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
+#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
#include &lt;<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>&gt;
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
@@ -123,19 +123,19 @@ static const char *home[]={
// ****************************************************************************************************
<a name="f495"></a>PixmapView::PixmapView( <a href="tqwidget.html">TQWidget</a> *parent )
- : <a href="ntqscrollview.html">TQScrollView</a>( parent )
+ : <a href="tqscrollview.html">TQScrollView</a>( parent )
{
- <a href="ntqscrollview.html#viewport">viewport</a>()-&gt;setBackgroundMode( PaletteBase );
+ <a href="tqscrollview.html#viewport">viewport</a>()-&gt;setBackgroundMode( PaletteBase );
}
void <a name="f496"></a>PixmapView::setPixmap( const <a href="tqpixmap.html">TQPixmap</a> &amp;pix )
{
pixmap = pix;
-<a name="x1855"></a> <a href="ntqscrollview.html#resizeContents">resizeContents</a>( pixmap.<a href="tqwidget.html#size">size</a>().width(), pixmap.<a href="tqwidget.html#size">size</a>().height() );
- <a href="ntqscrollview.html#viewport">viewport</a>()-&gt;repaint( FALSE );
+<a name="x1855"></a> <a href="tqscrollview.html#resizeContents">resizeContents</a>( pixmap.<a href="tqwidget.html#size">size</a>().width(), pixmap.<a href="tqwidget.html#size">size</a>().height() );
+ <a href="tqscrollview.html#viewport">viewport</a>()-&gt;repaint( FALSE );
}
-<a name="x1837"></a>void PixmapView::<a href="ntqscrollview.html#drawContents">drawContents</a>( <a href="tqpainter.html">TQPainter</a> *p, int cx, int cy, int cw, int ch )
+<a name="x1837"></a>void PixmapView::<a href="tqscrollview.html#drawContents">drawContents</a>( <a href="tqpainter.html">TQPainter</a> *p, int cx, int cy, int cw, int ch )
{
<a name="x1833"></a> p-&gt;<a href="tqpainter.html#fillRect">fillRect</a>( cx, cy, cw, ch, colorGroup().brush( TQColorGroup::Base ) );
<a name="x1832"></a> p-&gt;<a href="tqpainter.html#drawPixmap">drawPixmap</a>( 0, 0, pixmap );
@@ -206,16 +206,16 @@ void <a name="f498"></a>Preview::showPreview( const <a href="tqurl.html">TQUrl</
<a href="ntqhbox.html">TQHBox</a> *row = new <a href="ntqhbox.html">TQHBox</a>( this );
<a name="x1826"></a> row-&gt;<a href="ntqhbox.html#setSpacing">setSpacing</a>( 5 );
(void)new <a href="tqlabel.html">TQLabel</a>( <a href="tqobject.html#tr">tr</a>( "Only show files smaller than: " ), row );
- sizeSpinBox = new <a href="ntqspinbox.html">TQSpinBox</a>( 1, 10000, 1, row );
-<a name="x1838"></a> sizeSpinBox-&gt;<a href="ntqspinbox.html#setSuffix">setSuffix</a>( " KB" );
-<a name="x1839"></a> sizeSpinBox-&gt;<a href="ntqspinbox.html#setValue">setValue</a>( 64 );
+ sizeSpinBox = new <a href="tqspinbox.html">TQSpinBox</a>( 1, 10000, 1, row );
+<a name="x1838"></a> sizeSpinBox-&gt;<a href="tqspinbox.html#setSuffix">setSuffix</a>( " KB" );
+<a name="x1839"></a> sizeSpinBox-&gt;<a href="tqspinbox.html#setValue">setValue</a>( 64 );
<a name="x1852"></a><a name="x1840"></a> row-&gt;<a href="tqwidget.html#setFixedHeight">setFixedHeight</a>( 10 + sizeSpinBox-&gt;<a href="tqwidget.html#sizeHint">sizeHint</a>().height() );
preview = new Preview( this );
}
void <a name="f500"></a>PreviewWidget::previewUrl( const <a href="tqurl.html">TQUrl</a> &amp;u )
{
-<a name="x1841"></a> preview-&gt;showPreview( u, sizeSpinBox-&gt;<a href="ntqspinbox.html#value">value</a>() );
+<a name="x1841"></a> preview-&gt;showPreview( u, sizeSpinBox-&gt;<a href="tqspinbox.html#value">value</a>() );
}
// ****************************************************************************************************
@@ -234,7 +234,7 @@ void <a name="f500"></a>PreviewWidget::previewUrl( const <a href="tqurl.html">TQ
<a href="tqfiledialog.html#addLeftWidget">addLeftWidget</a>( dirView );
- <a href="ntqpushbutton.html">TQPushButton</a> *p = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
+ <a href="tqpushbutton.html">TQPushButton</a> *p = new <a href="tqpushbutton.html">TQPushButton</a>( this );
<a name="x1811"></a> p-&gt;<a href="ntqbutton.html#setPixmap">setPixmap</a>( TQPixmap( bookmarks ) );
<a name="x1848"></a> TQToolTip::<a href="tqtooltip.html#add">add</a>( p, tr( "Bookmarks" ) );
@@ -256,7 +256,7 @@ void <a name="f500"></a>PreviewWidget::previewUrl( const <a href="tqurl.html">TQ
}
}
-<a name="x1836"></a> p-&gt;<a href="ntqpushbutton.html#setPopup">setPopup</a>( bookmarkMenu );
+<a name="x1836"></a> p-&gt;<a href="tqpushbutton.html#setPopup">setPopup</a>( bookmarkMenu );
<a href="tqfiledialog.html#addToolButton">addToolButton</a>( p, TRUE );
@@ -382,7 +382,7 @@ int main( int argc, char ** argv )
}
fd.<a href="tqwidget.html#setCaption">setCaption</a>( caption );
<a name="x1821"></a> fd.<a href="tqfiledialog.html#setSelection">setSelection</a>( start );
-<a name="x1812"></a> if ( fd.<a href="ntqdialog.html#exec">exec</a>() == TQDialog::Accepted ) {
+<a name="x1812"></a> if ( fd.<a href="tqdialog.html#exec">exec</a>() == TQDialog::Accepted ) {
<a name="x1816"></a> <a href="tqstring.html">TQString</a> result = fd.<a href="tqfiledialog.html#selectedFile">selectedFile</a>();
printf("%s\n", (const char*)result);
return 0;
@@ -391,7 +391,7 @@ int main( int argc, char ** argv )
}
} else {
CustomFileDialog fd;
- fd.<a href="ntqdialog.html#exec">exec</a>();
+ fd.<a href="tqdialog.html#exec">exec</a>();
return 1;
}
}