summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/regexpbuttons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/regexpbuttons.cpp')
-rw-r--r--kregexpeditor/regexpbuttons.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kregexpeditor/regexpbuttons.cpp b/kregexpeditor/regexpbuttons.cpp
index a6bb121..d65f302 100644
--- a/kregexpeditor/regexpbuttons.cpp
+++ b/kregexpeditor/regexpbuttons.cpp
@@ -43,8 +43,8 @@ RegExpButtons::RegExpButtons( TQWidget *parent, const char *name )
_grp->hide();
_grp->setExclusive( true );
- _mapper = new TQSignalMapper( TQT_TQOBJECT(this), "RegExpButtons::_mapper" );
- connect( _mapper, TQT_SIGNAL( mapped(int) ), this, TQT_SIGNAL( clicked(int) ) );
+ _mapper = new TQSignalMapper( this, "RegExpButtons::_mapper" );
+ 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>"
@@ -164,11 +164,11 @@ DoubleClickButton* RegExpButtons::insert(RegExpType tp, const char* name, TQStri
DoubleClickButton* but = new DoubleClickButton( pix, this, "RegExpButtons::but");
- _mapper->setMapping( TQT_TQOBJECT(but), tp );
+ _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 );