summaryrefslogtreecommitdiffstats
path: root/doc/html/fileiconview-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-29 12:43:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-29 12:43:23 +0900
commitfef846914f8db6dc117e206ef913d519bf6bb33e (patch)
treed6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/html/fileiconview-example.html
parent8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff)
downloadtqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz
tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/fileiconview-example.html')
-rw-r--r--doc/html/fileiconview-example.html38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html
index 7e1607086..18d392f0c 100644
--- a/doc/html/fileiconview-example.html
+++ b/doc/html/fileiconview-example.html
@@ -725,8 +725,8 @@ TQtFileIconViewItem::~TQtFileIconViewItem()
<a href="tqobject.html#connect">connect</a>( this, TQ_SIGNAL( <a href="tqiconview.html#contextMenuRequested">contextMenuRequested</a>( <a href="tqiconviewitem.html">TQIconViewItem</a> *, const <a href="tqpoint.html">TQPoint</a> &amp; ) ),
this, TQ_SLOT( slotRightPressed( <a href="tqiconviewitem.html">TQIconViewItem</a> * ) ) );
- <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>( AlwaysOff );
- <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>( Auto );
+ <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>( AlwaysOff );
+ <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>( Auto );
<a href="tqiconview.html#setAutoArrange">setAutoArrange</a>( TRUE );
<a href="tqiconview.html#setSorting">setSorting</a>( TRUE );
@@ -767,7 +767,7 @@ void <a name="f305"></a>TQtFileIconView::newDirectory()
TQtFileIconViewItem *item = new TQtFileIconViewItem( this, new <a href="tqfileinfo.html">TQFileInfo</a>( *fi ) );
<a name="x847"></a> item-&gt;<a href="tqiconviewitem.html#setKey">setKey</a>( TQString( "000000%1" ).arg( fi-&gt;<a href="tqfileinfo.html#fileName">fileName</a>() ) );
delete fi;
- <a href="ntqscrollview.html#repaintContents">repaintContents</a>( <a href="ntqscrollview.html#contentsX">contentsX</a>(), contentsY(), contentsWidth(), contentsHeight(), FALSE );
+ <a href="tqscrollview.html#repaintContents">repaintContents</a>( <a href="tqscrollview.html#contentsX">contentsX</a>(), contentsY(), contentsWidth(), contentsHeight(), FALSE );
<a href="tqiconview.html#ensureItemVisible">ensureItemVisible</a>( item );
<a name="x849"></a> item-&gt;<a href="tqiconviewitem.html#setSelected">setSelected</a>( TRUE, TRUE );
<a href="tqiconview.html#setCurrentItem">setCurrentItem</a>( item );
@@ -877,8 +877,8 @@ void <a name="f308"></a>TQtFileIconView::itemDoubleClicked( <a href="tqiconviewi
if ( !currentItem() )
return 0;
-<a name="x809"></a> <a href="tqpoint.html">TQPoint</a> orig = <a href="ntqscrollview.html#viewportToContents">viewportToContents</a>( <a href="ntqscrollview.html#viewport">viewport</a>()-&gt;mapFromGlobal( TQCursor::<a href="ntqcursor.html#pos">pos</a>() ) );
- TQtFileIconDrag *drag = new TQtFileIconDrag( <a href="ntqscrollview.html#viewport">viewport</a>() );
+<a name="x809"></a> <a href="tqpoint.html">TQPoint</a> orig = <a href="tqscrollview.html#viewportToContents">viewportToContents</a>( <a href="tqscrollview.html#viewport">viewport</a>()-&gt;mapFromGlobal( TQCursor::<a href="ntqcursor.html#pos">pos</a>() ) );
+ TQtFileIconDrag *drag = new TQtFileIconDrag( <a href="tqscrollview.html#viewport">viewport</a>() );
<a name="x815"></a> drag-&gt;<a href="tqdragobject.html#setPixmap">setPixmap</a>( *currentItem()-&gt;pixmap(),
TQPoint( <a href="tqiconview.html#currentItem">currentItem</a>()-&gt;pixmapRect().width() / 2, currentItem()-&gt;pixmapRect().height() / 2 ) );
for ( TQtFileIconViewItem *item = (TQtFileIconViewItem*)<a href="tqiconview.html#firstItem">firstItem</a>(); item;
@@ -961,15 +961,15 @@ void <a name="f313"></a>TQtFileIconView::viewRight()
void <a name="f314"></a>TQtFileIconView::flowEast()
{
- <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>( AlwaysOff );
- <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>( Auto );
+ <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>( AlwaysOff );
+ <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>( Auto );
<a href="tqiconview.html#setArrangement">setArrangement</a>( LeftToRight );
}
void <a name="f315"></a>TQtFileIconView::flowSouth()
{
- <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>( AlwaysOff );
- <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>( Auto );
+ <a href="tqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>( AlwaysOff );
+ <a href="tqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>( Auto );
<a href="tqiconview.html#setArrangement">setArrangement</a>( TopToBottom );
}
@@ -1097,7 +1097,7 @@ protected:
DirectoryView *dirlist;
<a href="ntqprogressbar.html">TQProgressBar</a> *progress;
<a href="tqlabel.html">TQLabel</a> *label;
- <a href="ntqcombobox.html">TQComboBox</a> *pathCombo;
+ <a href="tqcombobox.html">TQComboBox</a> *pathCombo;
<a href="tqtoolbutton.html">TQToolButton</a> *upButton, *mkdirButton;
protected slots:
@@ -1139,7 +1139,7 @@ protected slots:
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="tqtoolbar-h.html">tqtoolbar.h</a>&gt;
-#include &lt;<a href="qcombobox-h.html">ntqcombobox.h</a>&gt;
+#include &lt;<a href="tqcombobox-h.html">tqcombobox.h</a>&gt;
#include &lt;<a href="tqpixmap-h.html">tqpixmap.h</a>&gt;
#include &lt;<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>&gt;
#include &lt;<a href="tqdir-h.html">tqdir.h</a>&gt;
@@ -1217,10 +1217,10 @@ void <a name="f325"></a>FileMainWindow::setup()
(void)new <a href="tqlabel.html">TQLabel</a>( <a href="tqobject.html#tr">tr</a>( " Path: " ), toolbar );
- pathCombo = new <a href="ntqcombobox.html">TQComboBox</a>( TRUE, toolbar );
-<a name="x880"></a> pathCombo-&gt;<a href="ntqcombobox.html#setAutoCompletion">setAutoCompletion</a>( TRUE );
+ pathCombo = new <a href="tqcombobox.html">TQComboBox</a>( TRUE, toolbar );
+<a name="x880"></a> pathCombo-&gt;<a href="tqcombobox.html#setAutoCompletion">setAutoCompletion</a>( TRUE );
<a name="x896"></a> toolbar-&gt;<a href="tqtoolbar.html#setStretchableWidget">setStretchableWidget</a>( pathCombo );
-<a name="x877"></a> <a href="tqobject.html#connect">connect</a>( pathCombo, TQ_SIGNAL( <a href="ntqcombobox.html#activated">activated</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
+<a name="x877"></a> <a href="tqobject.html#connect">connect</a>( pathCombo, TQ_SIGNAL( <a href="tqcombobox.html#activated">activated</a>( const <a href="tqstring.html">TQString</a> &amp; ) ),
this, TQ_SLOT ( changePath( const <a href="tqstring.html">TQString</a> &amp; ) ) );
<a name="x895"></a> toolbar-&gt;<a href="tqtoolbar.html#addSeparator">addSeparator</a>();
@@ -1269,18 +1269,18 @@ void <a name="f326"></a>FileMainWindow::setPathCombo()
<a href="tqstring.html">TQString</a> dir = <a href="tqwidget.html#caption">caption</a>();
int i = 0;
bool found = FALSE;
-<a name="x878"></a> for ( i = 0; i &lt; pathCombo-&gt;<a href="ntqcombobox.html#count">count</a>(); ++i ) {
-<a name="x882"></a> if ( pathCombo-&gt;<a href="ntqcombobox.html#text">text</a>( i ) == dir) {
+<a name="x878"></a> for ( i = 0; i &lt; pathCombo-&gt;<a href="tqcombobox.html#count">count</a>(); ++i ) {
+<a name="x882"></a> if ( pathCombo-&gt;<a href="tqcombobox.html#text">text</a>( i ) == dir) {
found = TRUE;
break;
}
}
if ( found )
-<a name="x881"></a> pathCombo-&gt;<a href="ntqcombobox.html#setCurrentItem">setCurrentItem</a>( i );
+<a name="x881"></a> pathCombo-&gt;<a href="tqcombobox.html#setCurrentItem">setCurrentItem</a>( i );
else {
-<a name="x879"></a> pathCombo-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>( dir );
- pathCombo-&gt;<a href="ntqcombobox.html#setCurrentItem">setCurrentItem</a>( pathCombo-&gt;<a href="ntqcombobox.html#count">count</a>() - 1 );
+<a name="x879"></a> pathCombo-&gt;<a href="tqcombobox.html#insertItem">insertItem</a>( dir );
+ pathCombo-&gt;<a href="tqcombobox.html#setCurrentItem">setCurrentItem</a>( pathCombo-&gt;<a href="tqcombobox.html#count">count</a>() - 1 );
}
}