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/listboxcombo-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/listboxcombo-example.html') diff --git a/doc/html/listboxcombo-example.html b/doc/html/listboxcombo-example.html index d12f9d009..1e966ba03 100644 --- a/doc/html/listboxcombo-example.html +++ b/doc/html/listboxcombo-example.html @@ -90,10 +90,10 @@ protected slots: #include "listboxcombo.h" -#include <ntqcombobox.h> +#include <tqcombobox.h> #include <ntqlistbox.h> #include <ntqhbox.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h> #include <tqstring.h> #include <tqpixmap.h> #include <tqlabel.h> @@ -165,7 +165,7 @@ protected: } // Create a pushbutton... - TQPushButton *arrow1 = new TQPushButton( " -> ", row1 ); + TQPushButton *arrow1 = new TQPushButton( " -> ", row1 ); // ...and connect the clicked TQ_SIGNAL with the TQ_SLOT slotLeft2Right connect( arrow1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLeft2Right() ) ); @@ -179,7 +179,7 @@ protected: box1->setSpacing( 5 ); // Create a non-editable Combobox and a label below... - TQComboBox *cb1 = new TQComboBox( FALSE, box1 ); + TQComboBox *cb1 = new TQComboBox( FALSE, box1 ); label1 = new TQLabel( "Current Item: Combobox Item 0", box1 ); label1->setMaximumHeight( label1->sizeHint().height() * 2 ); label1->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); @@ -188,16 +188,16 @@ protected: for ( i = 0; i < 50; i++ ) { str = TQString( "Combobox Item %1" ).arg( i ); if ( i % 9 ) - cb1->insertItem( str ); + cb1->insertItem( str ); else - cb1->listBox()->insertItem( new MyListBoxItem ); + cb1->listBox()->insertItem( new MyListBoxItem ); } TQVBox *box2 = new TQVBox( row2 ); box2->setSpacing( 5 ); // Create an editable Combobox and a label below... - TQComboBox *cb2 = new TQComboBox( TRUE, box2 ); + TQComboBox *cb2 = new TQComboBox( TRUE, box2 ); label2 = new TQLabel( "Current Item: Combobox Item 0", box2 ); label2->setMaximumHeight( label2->sizeHint().height() * 2 ); label2->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); @@ -206,14 +206,14 @@ protected: for ( i = 0; i < 50; i++ ) { str = TQString( "Combobox Item %1" ).arg( i ); if ( !( i % 4 ) ) - cb2->insertItem( TQPixmap( "fileopen.xpm" ), str ); + cb2->insertItem( TQPixmap( "fileopen.xpm" ), str ); else - cb2->insertItem( str ); + cb2->insertItem( str ); } // Connect the activated SIGNALs of the Comboboxes with SLOTs - connect( cb1, TQ_SIGNAL( activated( const TQString & ) ), this, TQ_SLOT( slotCombo1Activated( const TQString & ) ) ); - connect( cb2, TQ_SIGNAL( activated( const TQString & ) ), this, TQ_SLOT( slotCombo2Activated( const TQString & ) ) ); + connect( cb1, TQ_SIGNAL( activated( const TQString & ) ), this, TQ_SLOT( slotCombo1Activated( const TQString & ) ) ); + connect( cb2, TQ_SIGNAL( activated( const TQString & ) ), this, TQ_SLOT( slotCombo2Activated( const TQString & ) ) ); } /* -- cgit v1.2.3