diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:09:37 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 22:46:01 +0900 |
| commit | 278d2f50538b5465caa86fc7608d9cdfddf36cb9 (patch) | |
| tree | 4a7510f5edd4198094ddd9ae4d81ca2a90da7990 /kregexpeditor/regexpbuttons.cpp | |
| parent | a8bb8db5a25e70bf9de62c56c15c442883a752dc (diff) | |
| download | tdeutils-278d2f50.tar.gz tdeutils-278d2f50.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit af0b8f5d1e5e00b1f3b48658d89876c2df28e71c)
Diffstat (limited to 'kregexpeditor/regexpbuttons.cpp')
| -rw-r--r-- | kregexpeditor/regexpbuttons.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kregexpeditor/regexpbuttons.cpp b/kregexpeditor/regexpbuttons.cpp index 1974534..d65f302 100644 --- a/kregexpeditor/regexpbuttons.cpp +++ b/kregexpeditor/regexpbuttons.cpp @@ -44,7 +44,7 @@ RegExpButtons::RegExpButtons( TQWidget *parent, const char *name ) _grp->setExclusive( true ); _mapper = new TQSignalMapper( this, "RegExpButtons::_mapper" ); - connect( _mapper, TQT_SIGNAL( mapped(int) ), this, TQT_SIGNAL( clicked(int) ) ); + connect( _mapper, TQ_SIGNAL( mapped(int) ), this, TQ_SIGNAL( clicked(int) ) ); // The "select" button. _selectBut = new TQToolButton( this); @@ -60,8 +60,8 @@ RegExpButtons::RegExpButtons( TQWidget *parent, const char *name ) layout->addWidget( _selectBut ); _grp->insert(_selectBut); _selectBut->setToggleButton( true ); - connect( _selectBut, TQT_SIGNAL(clicked()), TQT_SIGNAL(doSelect())); - connect( _selectBut, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetNonKeepMode()) ); + connect( _selectBut, TQ_SIGNAL(clicked()), TQ_SIGNAL(doSelect())); + connect( _selectBut, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetNonKeepMode()) ); TQToolTip::add( _selectBut, i18n("Selection tool")); TQWhatsThis::add( _selectBut, i18n("<qt>This will change the state of the editor to <i>selection state</i>.<p>" @@ -166,9 +166,9 @@ DoubleClickButton* RegExpButtons::insert(RegExpType tp, const char* name, TQStri _mapper->setMapping( but, tp ); - connect( but, TQT_SIGNAL( clicked() ), _mapper, TQT_SLOT( map() ) ); - connect( but, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSetNonKeepMode() ) ); - connect( but, TQT_SIGNAL( doubleClicked() ), this, TQT_SLOT( slotSetKeepMode() ) ); + connect( but, TQ_SIGNAL( clicked() ), _mapper, TQ_SLOT( map() ) ); + connect( but, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSetNonKeepMode() ) ); + connect( but, TQ_SIGNAL( doubleClicked() ), this, TQ_SLOT( slotSetKeepMode() ) ); _grp->insert( but ); but->setToggleButton( true ); |
