summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/regexpbuttons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/regexpbuttons.cpp')
-rw-r--r--kregexpeditor/regexpbuttons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/regexpbuttons.cpp b/kregexpeditor/regexpbuttons.cpp
index a6bb121..1974534 100644
--- a/kregexpeditor/regexpbuttons.cpp
+++ b/kregexpeditor/regexpbuttons.cpp
@@ -43,7 +43,7 @@ RegExpButtons::RegExpButtons( TQWidget *parent, const char *name )
_grp->hide();
_grp->setExclusive( true );
- _mapper = new TQSignalMapper( TQT_TQOBJECT(this), "RegExpButtons::_mapper" );
+ _mapper = new TQSignalMapper( this, "RegExpButtons::_mapper" );
connect( _mapper, TQT_SIGNAL( mapped(int) ), this, TQT_SIGNAL( clicked(int) ) );
// The "select" button.
@@ -164,7 +164,7 @@ 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() ) );