diff options
Diffstat (limited to 'doc/html/listviews-example.html')
-rw-r--r-- | doc/html/listviews-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/listviews-example.html b/doc/html/listviews-example.html index d22ed98bc..255012333 100644 --- a/doc/html/listviews-example.html +++ b/doc/html/listviews-example.html @@ -53,7 +53,7 @@ and works like the main window of a mail client. #include <<a href="qsplitter-h.html">ntqsplitter.h</a>> #include <<a href="qstring-h.html">ntqstring.h</a>> -#include <<a href="qobject-h.html">ntqobject.h</a>> +#include <<a href="tqobject-h.html">tqobject.h</a>> #include <<a href="qdatetime-h.html">ntqdatetime.h</a>> #include <<a href="qptrlist-h.html">ntqptrlist.h</a>> #include <<a href="qlistview-h.html">ntqlistview.h</a>> @@ -118,7 +118,7 @@ protected: // ----------------------------------------------------------------- -class Folder : public <a href="ntqobject.html">TQObject</a> +class Folder : public <a href="tqobject.html">TQObject</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> @@ -149,7 +149,7 @@ public: FolderListItem( <a href="ntqlistview.html">TQListView</a> *parent, Folder *f ); FolderListItem( FolderListItem *parent, Folder *f ); - void insertSubFolders( const <a href="ntqobjectlist.html">TQObjectList</a> *lst ); + void insertSubFolders( const <a href="tqobjectlist.html">TQObjectList</a> *lst ); Folder *folder() { return myFolder; } @@ -224,7 +224,7 @@ protected slots: #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qpainter-h.html">ntqpainter.h</a>> #include <<a href="qpalette-h.html">ntqpalette.h</a>> -#include <<a href="qobjectlist-h.html">ntqobjectlist.h</a>> +#include <<a href="tqobjectlist-h.html">tqobjectlist.h</a>> #include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> #include <<a href="qheader-h.html">ntqheader.h</a>> #include <<a href="qregexp-h.html">ntqregexp.h</a>> @@ -250,7 +250,7 @@ MessageHeader &MessageHeader::operator=( const MessageHeader &mh ) // ----------------------------------------------------------------- <a name="f208"></a>Folder::Folder( Folder *parent, const <a href="ntqstring.html">TQString</a> &name ) - : <a href="ntqobject.html">TQObject</a>( parent, name ), fName( name ) + : <a href="tqobject.html">TQObject</a>( parent, name ), fName( name ) { lstMessages.setAutoDelete( TRUE ); } @@ -278,10 +278,10 @@ FolderListItem::FolderListItem( FolderListItem *parent, Folder *f ) insertSubFolders( myFolder->children() ); } -void <a name="f210"></a>FolderListItem::insertSubFolders( const <a href="ntqobjectlist.html">TQObjectList</a> *lst ) +void <a name="f210"></a>FolderListItem::insertSubFolders( const <a href="tqobjectlist.html">TQObjectList</a> *lst ) { Folder *f; - for ( f = ( Folder* )( ( <a href="ntqobjectlist.html">TQObjectList</a>* )lst )->first(); f; f = ( Folder* )( ( <a href="ntqobjectlist.html">TQObjectList</a>* )lst )->next() ) + for ( f = ( Folder* )( ( <a href="tqobjectlist.html">TQObjectList</a>* )lst )->first(); f; f = ( Folder* )( ( <a href="tqobjectlist.html">TQObjectList</a>* )lst )->next() ) (void)new FolderListItem( this, f ); } @@ -339,7 +339,7 @@ void <a name="f210"></a>FolderListItem::insertSubFolders( const <a href="ntqobje menu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( messages ); for( int i = 1; i <= 10; i++ ) menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( TQString( "Context Item %1" ).arg( i ) ); -<a name="x143"></a> <a href="ntqobject.html#connect">connect</a>(messages, TQ_SIGNAL( <a href="ntqlistview.html#contextMenuRequested">contextMenuRequested</a>( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a>& , int ) ), +<a name="x143"></a> <a href="tqobject.html#connect">connect</a>(messages, TQ_SIGNAL( <a href="ntqlistview.html#contextMenuRequested">contextMenuRequested</a>( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a>& , int ) ), this, TQ_SLOT( slotRMB( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a> &, int ) ) ); <a name="x161"></a> vsplitter-><a href="ntqsplitter.html#setResizeMode">setResizeMode</a>( messages, TQSplitter::KeepSize ); @@ -347,11 +347,11 @@ void <a name="f210"></a>FolderListItem::insertSubFolders( const <a href="ntqobje message-><a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignTop ); <a name="x163"></a> message-><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>( PaletteBase ); -<a name="x148"></a> <a href="ntqobject.html#connect">connect</a>( folders, TQ_SIGNAL( <a href="ntqlistview.html#selectionChanged">selectionChanged</a>( <a href="qlistviewitem.html">TQListViewItem</a>* ) ), +<a name="x148"></a> <a href="tqobject.html#connect">connect</a>( folders, TQ_SIGNAL( <a href="ntqlistview.html#selectionChanged">selectionChanged</a>( <a href="qlistviewitem.html">TQListViewItem</a>* ) ), this, TQ_SLOT( slotFolderChanged( <a href="qlistviewitem.html">TQListViewItem</a>* ) ) ); - <a href="ntqobject.html#connect">connect</a>( messages, TQ_SIGNAL( <a href="ntqlistview.html#selectionChanged">selectionChanged</a>() ), + <a href="tqobject.html#connect">connect</a>( messages, TQ_SIGNAL( <a href="ntqlistview.html#selectionChanged">selectionChanged</a>() ), this, TQ_SLOT( slotMessageChanged() ) ); -<a name="x144"></a> <a href="ntqobject.html#connect">connect</a>( messages, TQ_SIGNAL( <a href="ntqlistview.html#currentChanged">currentChanged</a>( <a href="qlistviewitem.html">TQListViewItem</a> * ) ), +<a name="x144"></a> <a href="tqobject.html#connect">connect</a>( messages, TQ_SIGNAL( <a href="ntqlistview.html#currentChanged">currentChanged</a>( <a href="qlistviewitem.html">TQListViewItem</a> * ) ), this, TQ_SLOT( slotMessageChanged() ) ); <a name="x154"></a> messages-><a href="ntqlistview.html#setSelectionMode">setSelectionMode</a>( TQListView::Extended ); |