From 1f0ce8533cc837aa2d4155b5fc17d2004bed0197 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 5 Jun 2024 19:02:23 +0900 Subject: Rename template library nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/checklists-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/checklists-example.html') diff --git a/doc/html/checklists-example.html b/doc/html/checklists-example.html index 9a58769e0..2dded4efe 100644 --- a/doc/html/checklists-example.html +++ b/doc/html/checklists-example.html @@ -92,7 +92,7 @@ protected slots: #include <ntqlistview.h> #include <ntqvbox.h> #include <ntqlabel.h> -#include <ntqvaluelist.h> +#include <tqvaluelist.h> #include <ntqstring.h> #include <ntqpushbutton.h> #include <ntqlayout.h> @@ -123,17 +123,17 @@ protected slots: lv1->setRootIsDecorated( TRUE ); // create a list with 4 ListViewItems which will be parent items of other ListViewItems - TQValueList<TQListViewItem *> parentList; + TQValueList<TQListViewItem *> parentList; - parentList.append( new TQCheckListItem( lv1, "Parent Item 1", TQCheckListItem::CheckBoxController ) ); - parentList.append( new TQCheckListItem( lv1, "Parent Item 2", TQCheckListItem::CheckBoxController ) ); - parentList.append( new TQCheckListItem( lv1, "Parent Item 3", TQCheckListItem::CheckBoxController ) ); - parentList.append( new TQCheckListItem( lv1, "Parent Item 4", TQCheckListItem::CheckBoxController ) ); + parentList.append( new TQCheckListItem( lv1, "Parent Item 1", TQCheckListItem::CheckBoxController ) ); + parentList.append( new TQCheckListItem( lv1, "Parent Item 2", TQCheckListItem::CheckBoxController ) ); + parentList.append( new TQCheckListItem( lv1, "Parent Item 3", TQCheckListItem::CheckBoxController ) ); + parentList.append( new TQCheckListItem( lv1, "Parent Item 4", TQCheckListItem::CheckBoxController ) ); TQListViewItem *item = 0; unsigned int num = 1; // go through the list of parent items... - for ( TQValueList<TQListViewItem*>::Iterator it = parentList.begin(); it != parentList.end(); + for ( TQValueList<TQListViewItem*>::Iterator it = parentList.begin(); it != parentList.end(); ( *it )->setOpen( TRUE ), ++it, num++ ) { item = *it; // ...and create 5 checkable child ListViewItems for each parent item -- cgit v1.2.3