diff options
author | Michele Calgaro <[email protected]> | 2024-07-20 20:15:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-21 23:04:19 +0900 |
commit | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch) | |
tree | 5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/html/dirview-example.html | |
parent | 14c414378d96f7463b989384f4a0e5dd76632b6d (diff) | |
download | tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip |
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/dirview-example.html')
-rw-r--r-- | doc/html/dirview-example.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/dirview-example.html b/doc/html/dirview-example.html index 246a04854..5fae5a736 100644 --- a/doc/html/dirview-example.html +++ b/doc/html/dirview-example.html @@ -70,14 +70,14 @@ public: FileItem( <a href="qlistviewitem.html">TQListViewItem</a> *parent, const <a href="tqstring.html">TQString</a> &s1, const <a href="tqstring.html">TQString</a> &s2 ) : <a href="qlistviewitem.html">TQListViewItem</a>( parent, s1, s2 ), pix( 0 ) {} - const <a href="ntqpixmap.html">TQPixmap</a> *pixmap( int i ) const; + const <a href="tqpixmap.html">TQPixmap</a> *pixmap( int i ) const; #if !defined(Q_NO_USING_KEYWORD) using TQListViewItem::setPixmap; #endif - void setPixmap( <a href="ntqpixmap.html">TQPixmap</a> *p ); + void setPixmap( <a href="tqpixmap.html">TQPixmap</a> *p ); private: - <a href="ntqpixmap.html">TQPixmap</a> *pix; + <a href="tqpixmap.html">TQPixmap</a> *pix; }; @@ -96,18 +96,18 @@ public: void setOpen( bool ); void setup(); - const <a href="ntqpixmap.html">TQPixmap</a> *pixmap( int i ) const; + const <a href="tqpixmap.html">TQPixmap</a> *pixmap( int i ) const; #if !defined(Q_NO_USING_KEYWORD) using TQListViewItem::setPixmap; #endif - void setPixmap( <a href="ntqpixmap.html">TQPixmap</a> *p ); + void setPixmap( <a href="tqpixmap.html">TQPixmap</a> *p ); private: <a href="tqfile.html">TQFile</a> f; Directory * p; bool readable; bool showDirsOnly; - <a href="ntqpixmap.html">TQPixmap</a> *pix; + <a href="tqpixmap.html">TQPixmap</a> *pix; }; @@ -144,7 +144,7 @@ private: <a href="qlistviewitem.html">TQListViewItem</a> *oldCurrent; <a href="qlistviewitem.html">TQListViewItem</a> *dropItem; <a href="tqtimer.html">TQTimer</a>* autoopen_timer; - <a href="ntqpoint.html">TQPoint</a> presspos; + <a href="tqpoint.html">TQPoint</a> presspos; bool mousePressed; }; @@ -172,9 +172,9 @@ can be used in any other trees. #include <<a href="tqdir-h.html">tqdir.h</a>> #include <<a href="tqfile-h.html">tqfile.h</a>> #include <<a href="tqfileinfo-h.html">tqfileinfo.h</a>> -#include <<a href="qpixmap-h.html">ntqpixmap.h</a>> +#include <<a href="tqpixmap-h.html">tqpixmap.h</a>> #include <<a href="qevent-h.html">ntqevent.h</a>> -#include <<a href="qpoint-h.html">ntqpoint.h</a>> +#include <<a href="tqpoint-h.html">tqpoint.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="tqdragobject-h.html">tqdragobject.h</a>> #include <<a href="tqmime-h.html">tqmime.h</a>> @@ -332,7 +332,7 @@ Directory::Directory( <a href="ntqlistview.html">TQListView</a> * parent, const } -<a name="x1691"></a>void Directory::<a href="qlistviewitem.html#setPixmap">setPixmap</a>( <a href="ntqpixmap.html">TQPixmap</a> *px ) +<a name="x1691"></a>void Directory::<a href="qlistviewitem.html#setPixmap">setPixmap</a>( <a href="tqpixmap.html">TQPixmap</a> *px ) { pix = px; <a href="qlistviewitem.html#setup">setup</a>(); @@ -438,10 +438,10 @@ TQString <a name="f477"></a>Directory::fullName() { autoopen_timer = new <a href="tqtimer.html">TQTimer</a>( this ); if ( !folderLocked ) { - folderLocked = new <a href="ntqpixmap.html">TQPixmap</a>( folder_locked ); - folderClosed = new <a href="ntqpixmap.html">TQPixmap</a>( folder_closed_xpm ); - folderOpen = new <a href="ntqpixmap.html">TQPixmap</a>( folder_open_xpm ); - fileNormal = new <a href="ntqpixmap.html">TQPixmap</a>( pix_file ); + folderLocked = new <a href="tqpixmap.html">TQPixmap</a>( folder_locked ); + folderClosed = new <a href="tqpixmap.html">TQPixmap</a>( folder_closed_xpm ); + folderOpen = new <a href="tqpixmap.html">TQPixmap</a>( folder_open_xpm ); + fileNormal = new <a href="tqpixmap.html">TQPixmap</a>( pix_file ); } <a href="tqobject.html#connect">connect</a>( this, TQ_SIGNAL( <a href="ntqlistview.html#doubleClicked">doubleClicked</a>( <a href="qlistviewitem.html">TQListViewItem</a> * ) ), @@ -501,7 +501,7 @@ static const int autoopenTime = 750; return; } - <a href="ntqpoint.html">TQPoint</a> vp = <a href="ntqscrollview.html#contentsToViewport">contentsToViewport</a>( ( (TQDragMoveEvent*)e )->pos() ); + <a href="tqpoint.html">TQPoint</a> vp = <a href="ntqscrollview.html#contentsToViewport">contentsToViewport</a>( ( (TQDragMoveEvent*)e )->pos() ); <a href="qlistviewitem.html">TQListViewItem</a> *i = <a href="ntqlistview.html#itemAt">itemAt</a>( vp ); if ( i ) { <a href="ntqlistview.html#setSelected">setSelected</a>( i, TRUE ); @@ -613,13 +613,13 @@ TQString <a name="f481"></a>DirectoryView::fullPath(TQListViewItem* item) <a name="x1684"></a>void DirectoryView::<a href="ntqlistview.html#contentsMousePressEvent">contentsMousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a>* e ) { TQListView::<a href="ntqlistview.html#contentsMousePressEvent">contentsMousePressEvent</a>(e); - <a href="ntqpoint.html">TQPoint</a> p( contentsToViewport( e-><a href="tqdropevent.html#pos">pos</a>() ) ); + <a href="tqpoint.html">TQPoint</a> p( contentsToViewport( e-><a href="tqdropevent.html#pos">pos</a>() ) ); <a href="qlistviewitem.html">TQListViewItem</a> *i = itemAt( p ); if ( i ) { // if the user clicked into the root decoration of the item, don't try to start a drag! -<a name="x1696"></a> if ( p.<a href="ntqpoint.html#x">x</a>() > header()->cellPos( header()->mapToActual( 0 ) ) + +<a name="x1696"></a> if ( p.<a href="tqpoint.html#x">x</a>() > header()->cellPos( header()->mapToActual( 0 ) ) + <a name="x1686"></a> treeStepSize() * ( i-><a href="qlistviewitem.html#depth">depth</a>() + ( rootIsDecorated() ? 1 : 0) ) + itemMargin() || - p.<a href="ntqpoint.html#x">x</a>() < header()->cellPos( header()->mapToActual( 0 ) ) ) { + p.<a href="tqpoint.html#x">x</a>() < header()->cellPos( header()->mapToActual( 0 ) ) ) { presspos = e-><a href="tqdropevent.html#pos">pos</a>(); mousePressed = TRUE; } @@ -674,7 +674,7 @@ void <a name="f482"></a>DirectoryView::setDir( const <a href="tqstring.html">TQS setCurrentItem( item ); } -void FileItem::<a href="qlistviewitem.html#setPixmap">setPixmap</a>( <a href="ntqpixmap.html">TQPixmap</a> *p ) +void FileItem::<a href="qlistviewitem.html#setPixmap">setPixmap</a>( <a href="tqpixmap.html">TQPixmap</a> *p ) { pix = p; <a href="qlistviewitem.html#setup">setup</a>(); |