From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class 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 29fd97dd1..8c58cfa8d 100644 --- a/doc/html/checklists-example.html +++ b/doc/html/checklists-example.html @@ -64,7 +64,7 @@ public: protected: TQListView *lv1, *lv2; - TQLabel *label; + TQLabel *label; protected slots: void copy1to2(); @@ -91,7 +91,7 @@ protected slots: #include <ntqlistview.h> #include <ntqvbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqvaluelist.h> #include <tqstring.h> #include <ntqpushbutton.h> @@ -114,7 +114,7 @@ protected slots: vbox1->setMargin( 5 ); // First child: a Label - vbox1->addWidget( new TQLabel( "Check some items!", this ) ); + vbox1->addWidget( new TQLabel( "Check some items!", this ) ); // Second child: the ListView lv1 = new TQListView( this ); @@ -157,7 +157,7 @@ protected slots: vbox2->setMargin( 5 ); // and another label - vbox2->addWidget( new TQLabel( "Check one item!", this ) ); + vbox2->addWidget( new TQLabel( "Check one item!", this ) ); // create the second listview lv2 = new TQListView( this ); @@ -180,7 +180,7 @@ protected slots: tmp->setMargin( 5 ); // and create a label which will be at the right of the window - label = new TQLabel( "No Item yet...", this ); + label = new TQLabel( "No Item yet...", this ); tmp->addWidget( label ); } @@ -228,7 +228,7 @@ void CheckLists::copy2to3() // create an iterator which operates on the second ListView TQListViewItemIterator it( lv2 ); - label->setText( "No Item checked" ); + label->setText( "No Item checked" ); // iterate through the second ListView... for ( ; it.current(); ++it ) @@ -237,7 +237,7 @@ void CheckLists::copy2to3() // ...if the item is checked... if ( ( (TQCheckListItem*)it.current() )->isOn() ) // ...set the text of the item to the label - label->setText( it.current()->text( 0 ) ); + label->setText( it.current()->text( 0 ) ); } -- cgit v1.2.3