From fef846914f8db6dc117e206ef913d519bf6bb33e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 29 Jul 2024 12:43:23 +0900 Subject: Rename basic widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/checklists-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/checklists-example.html') diff --git a/doc/html/checklists-example.html b/doc/html/checklists-example.html index 8c58cfa8d..40f7db55c 100644 --- a/doc/html/checklists-example.html +++ b/doc/html/checklists-example.html @@ -94,7 +94,7 @@ protected slots: #include <tqlabel.h> #include <tqvaluelist.h> #include <tqstring.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h> #include <ntqlayout.h> /* @@ -125,10 +125,10 @@ protected slots: // create a list with 4 ListViewItems which will be parent items of other ListViewItems 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; @@ -138,7 +138,7 @@ protected slots: item = *it; // ...and create 5 checkable child ListViewItems for each parent item for ( unsigned int i = 1; i <= 5; i++ ) - (void)new TQCheckListItem( item, TQString( "%1. Child of Parent %2" ).arg( i ).arg( num ), TQCheckListItem::CheckBox ); + (void)new TQCheckListItem( item, TQString( "%1. Child of Parent %2" ).arg( i ).arg( num ), TQCheckListItem::CheckBox ); } // Create another widget for layouting @@ -146,7 +146,7 @@ protected slots: tmp->setMargin( 5 ); // create a pushbutton - TQPushButton *copy1 = new TQPushButton( " -> ", this ); + TQPushButton *copy1 = new TQPushButton( " -> ", this ); tmp->addWidget( copy1 ); copy1->setMaximumWidth( copy1->sizeHint().width() ); // connect the TQ_SIGNAL clicked() of the pushbutton with the TQ_SLOT copy1to2() @@ -170,7 +170,7 @@ protected slots: tmp->setMargin( 5 ); // create another pushbutton... - TQPushButton *copy2 = new TQPushButton( " -> ", this ); + TQPushButton *copy2 = new TQPushButton( " -> ", this ); lay->addWidget( copy2 ); copy2->setMaximumWidth( copy2->sizeHint().width() ); // ...and connect its clicked() TQ_SIGNAL to the copy2to3() TQ_SLOT @@ -200,7 +200,7 @@ void CheckLists::copy1to2() // Insert first a controller Item into the second ListView. Always if Radio-ListViewItems // are inserted into a Listview, the parent item of these MUST be a controller Item! - TQCheckListItem *item = new TQCheckListItem( lv2, "Controller", TQCheckListItem::Controller ); + TQCheckListItem *item = new TQCheckListItem( lv2, "Controller", TQCheckListItem::Controller ); item->setOpen( TRUE ); // iterate through the first ListView... @@ -210,10 +210,10 @@ void CheckLists::copy1to2() // ...if the item is checked... if ( ( (TQCheckListItem*)it.current() )->isOn() ) // ...insert a Radio-ListViewItem with the same text into the second ListView - (void)new TQCheckListItem( item, it.current()->text( 0 ), TQCheckListItem::RadioButton ); + (void)new TQCheckListItem( item, it.current()->text( 0 ), TQCheckListItem::RadioButton ); if ( item->firstChild() ) - ( ( TQCheckListItem* )item->firstChild() )->setOn( TRUE ); + ( ( TQCheckListItem* )item->firstChild() )->setOn( TRUE ); } /* -- cgit v1.2.3