diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/qdir-example.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 9058146fc..4d8066987 100644 --- a/doc/html/qdir-example.html +++ b/doc/html/qdir-example.html @@ -122,7 +122,7 @@ static const char *home[]={ // **************************************************************************************************** -<a name="f495"></a>PixmapView::PixmapView( <a href="ntqwidget.html">TQWidget</a> *parent ) +<a name="f495"></a>PixmapView::PixmapView( <a href="tqwidget.html">TQWidget</a> *parent ) : <a href="ntqscrollview.html">TQScrollView</a>( parent ) { <a href="ntqscrollview.html#viewport">viewport</a>()->setBackgroundMode( PaletteBase ); @@ -131,7 +131,7 @@ static const char *home[]={ void <a name="f496"></a>PixmapView::setPixmap( const <a href="ntqpixmap.html">TQPixmap</a> &pix ) { pixmap = pix; -<a name="x1855"></a> <a href="ntqscrollview.html#resizeContents">resizeContents</a>( pixmap.<a href="ntqwidget.html#size">size</a>().width(), pixmap.<a href="ntqwidget.html#size">size</a>().height() ); +<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>()->repaint( FALSE ); } @@ -143,14 +143,14 @@ void <a name="f496"></a>PixmapView::setPixmap( const <a href="ntqpixmap.html">TQ // **************************************************************************************************** -<a name="f497"></a>Preview::Preview( <a href="ntqwidget.html">TQWidget</a> *parent ) - : <a href="ntqwidgetstack.html">TQWidgetStack</a>( parent ) +<a name="f497"></a>Preview::Preview( <a href="tqwidget.html">TQWidget</a> *parent ) + : <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 ); pixmap = new PixmapView( this ); - <a href="ntqwidgetstack.html#raiseWidget">raiseWidget</a>( normalText ); + <a href="tqwidgetstack.html#raiseWidget">raiseWidget</a>( normalText ); } void <a name="f498"></a>Preview::showPreview( const <a href="ntqurl.html">TQUrl</a> &u, int size ) @@ -160,7 +160,7 @@ void <a name="f498"></a>Preview::showPreview( const <a href="ntqurl.html">TQUrl< <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 href="ntqwidgetstack.html#raiseWidget">raiseWidget</a>( normalText ); + <a href="tqwidgetstack.html#raiseWidget">raiseWidget</a>( normalText ); return; } @@ -198,7 +198,7 @@ void <a name="f498"></a>Preview::showPreview( const <a href="ntqurl.html">TQUrl< // **************************************************************************************************** -<a name="f499"></a>PreviewWidget::PreviewWidget( <a href="ntqwidget.html">TQWidget</a> *parent ) +<a name="f499"></a>PreviewWidget::PreviewWidget( <a href="tqwidget.html">TQWidget</a> *parent ) : <a href="ntqvbox.html">TQVBox</a>( parent ), TQFilePreview() { setSpacing( 5 ); @@ -209,7 +209,7 @@ void <a name="f498"></a>Preview::showPreview( const <a href="ntqurl.html">TQUrl< sizeSpinBox = new <a href="ntqspinbox.html">TQSpinBox</a>( 1, 10000, 1, row ); <a name="x1838"></a> sizeSpinBox-><a href="ntqspinbox.html#setSuffix">setSuffix</a>( " KB" ); <a name="x1839"></a> sizeSpinBox-><a href="ntqspinbox.html#setValue">setValue</a>( 64 ); -<a name="x1852"></a><a name="x1840"></a> row-><a href="ntqwidget.html#setFixedHeight">setFixedHeight</a>( 10 + sizeSpinBox-><a href="ntqwidget.html#sizeHint">sizeHint</a>().height() ); +<a name="x1852"></a><a name="x1840"></a> row-><a href="tqwidget.html#setFixedHeight">setFixedHeight</a>( 10 + sizeSpinBox-><a href="tqwidget.html#sizeHint">sizeHint</a>().height() ); preview = new Preview( this ); } @@ -230,7 +230,7 @@ void <a name="f500"></a>PreviewWidget::previewUrl( const <a href="ntqurl.html">T <a name="x1828"></a> dirView-><a href="ntqlistview.html#header">header</a>()->hide(); ::Directory *root = new ::Directory( dirView, "/" ); root->setOpen( TRUE ); -<a name="x1853"></a> dirView-><a href="ntqwidget.html#setFixedWidth">setFixedWidth</a>( 150 ); +<a name="x1853"></a> dirView-><a href="tqwidget.html#setFixedWidth">setFixedWidth</a>( 150 ); <a href="ntqfiledialog.html#addLeftWidget">addLeftWidget</a>( dirView ); @@ -273,7 +273,7 @@ void <a name="f500"></a>PreviewWidget::previewUrl( const <a href="ntqurl.html">T <a href="ntqfiledialog.html#addToolButton">addToolButton</a>( b ); - <a href="ntqwidget.html#resize">resize</a>( <a href="ntqwidget.html#width">width</a>() + width() / 3, height() ); + <a href="tqwidget.html#resize">resize</a>( <a href="tqwidget.html#width">width</a>() + width() / 3, height() ); } CustomFileDialog::~CustomFileDialog() @@ -295,9 +295,9 @@ void <a name="f492"></a>CustomFileDialog::setDir2( const <a href="ntqstring.html <a href="tqobject.html#blockSignals">blockSignals</a>( FALSE ); } -<a name="x1854"></a>void CustomFileDialog::<a href="ntqwidget.html#showEvent">showEvent</a>( <a href="qshowevent.html">TQShowEvent</a> *e ) +<a name="x1854"></a>void CustomFileDialog::<a href="tqwidget.html#showEvent">showEvent</a>( <a href="qshowevent.html">TQShowEvent</a> *e ) { - TQFileDialog::<a href="ntqwidget.html#showEvent">showEvent</a>( e ); + TQFileDialog::<a href="tqwidget.html#showEvent">showEvent</a>( e ); dirView->setDir( <a href="ntqfiledialog.html#dirPath">dirPath</a>() ); } @@ -380,7 +380,7 @@ int main( int argc, char ** argv ) <a name="x1822"></a> fd.<a href="ntqfiledialog.html#setViewMode">setViewMode</a>( TQFileDialog::List ); <a name="x1820"></a> fd.<a href="ntqfiledialog.html#setPreviewMode">setPreviewMode</a>( TQFileDialog::Contents ); } - fd.<a href="ntqwidget.html#setCaption">setCaption</a>( caption ); + fd.<a href="tqwidget.html#setCaption">setCaption</a>( caption ); <a name="x1821"></a> fd.<a href="ntqfiledialog.html#setSelection">setSelection</a>( start ); <a name="x1812"></a> if ( fd.<a href="ntqdialog.html#exec">exec</a>() == TQDialog::Accepted ) { <a name="x1816"></a> <a href="ntqstring.html">TQString</a> result = fd.<a href="ntqfiledialog.html#selectedFile">selectedFile</a>(); |