diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /src/widgets/qcombobox.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qcombobox.cpp')
-rw-r--r-- | src/widgets/qcombobox.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/widgets/qcombobox.cpp b/src/widgets/qcombobox.cpp index db1c4b491..b75d23ed8 100644 --- a/src/widgets/qcombobox.cpp +++ b/src/widgets/qcombobox.cpp @@ -521,10 +521,10 @@ TQComboBox::TQComboBox( TQWidget *parent, const char *name ) style().styleHint(TQStyle::SH_GUIStyle) == TQt::MotifStyle ) { d->setPopupMenu( new TQComboBoxPopup( this, "in-combo" ) ); d->popup()->setFont( font() ); - connect( d->popup(), SIGNAL(activated(int)), - SLOT(internalActivate(int)) ); - connect( d->popup(), SIGNAL(highlighted(int)), - SLOT(internalHighlight(int)) ); + connect( d->popup(), TQ_SIGNAL(activated(int)), + TQ_SLOT(internalActivate(int)) ); + connect( d->popup(), TQ_SIGNAL(highlighted(int)), + TQ_SLOT(internalHighlight(int)) ); } else { setUpListBox(); } @@ -1393,7 +1393,7 @@ void TQComboBox::mousePressEvent( TQMouseEvent *e ) } else { popup(); } - TQTimer::singleShot( 200, this, SLOT(internalClickTimeout())); + TQTimer::singleShot( 200, this, TQ_SLOT(internalClickTimeout())); d->shortClick = TRUE; } } @@ -1562,8 +1562,8 @@ void TQComboBox::popup() TQComboBoxPopup *p = new TQComboBoxPopup( this, "in-combo" ); d->setPopupMenu( p, FALSE ); p->setFont( font() ); - connect( p, SIGNAL(activated(int)), SLOT(internalActivate(int)) ); - connect( p, SIGNAL(highlighted(int)), SLOT(internalHighlight(int)) ); + connect( p, TQ_SIGNAL(activated(int)), TQ_SLOT(internalActivate(int)) ); + connect( p, TQ_SIGNAL(highlighted(int)), TQ_SLOT(internalHighlight(int)) ); } d->popup()->clear(); for(unsigned int i = 0; i < d->listBox()->count(); i++) { @@ -2138,10 +2138,10 @@ void TQComboBox::setListBox( TQListBox * newListBox ) d->listBox()->setLineWidth( 1 ); d->listBox()->resize( 100, 10 ); - connect( d->listBox(), SIGNAL(selected(int)), - SLOT(internalActivate(int)) ); - connect( d->listBox(), SIGNAL(highlighted(int)), - SLOT(internalHighlight(int))); + connect( d->listBox(), TQ_SIGNAL(selected(int)), + TQ_SLOT(internalActivate(int)) ); + connect( d->listBox(), TQ_SIGNAL(highlighted(int)), + TQ_SLOT(internalHighlight(int))); } @@ -2268,10 +2268,10 @@ void TQComboBox::setUpListBox() d->listBox()->setLineWidth( 1 ); d->listBox()->resize( 100, 10 ); - connect( d->listBox(), SIGNAL(selected(int)), - SLOT(internalActivate(int)) ); - connect( d->listBox(), SIGNAL(highlighted(int)), - SLOT(internalHighlight(int))); + connect( d->listBox(), TQ_SIGNAL(selected(int)), + TQ_SLOT(internalActivate(int)) ); + connect( d->listBox(), TQ_SIGNAL(highlighted(int)), + TQ_SLOT(internalHighlight(int))); } @@ -2301,9 +2301,9 @@ void TQComboBox::setLineEdit( TQLineEdit *edit ) if ( edit->parent() != this ) edit->reparent( this, TQPoint(0,0), FALSE ); - connect (edit, SIGNAL( textChanged(const TQString&) ), - this, SIGNAL( textChanged(const TQString&) ) ); - connect( edit, SIGNAL(returnPressed()), SLOT(returnPressed()) ); + connect (edit, TQ_SIGNAL( textChanged(const TQString&) ), + this, TQ_SIGNAL( textChanged(const TQString&) ) ); + connect( edit, TQ_SIGNAL(returnPressed()), TQ_SLOT(returnPressed()) ); edit->setFrame( FALSE ); d->updateLinedGeometry(); |