summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/verifybuttons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/verifybuttons.cpp')
-rw-r--r--kregexpeditor/verifybuttons.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kregexpeditor/verifybuttons.cpp b/kregexpeditor/verifybuttons.cpp
index eb756b2..1f62e0a 100644
--- a/kregexpeditor/verifybuttons.cpp
+++ b/kregexpeditor/verifybuttons.cpp
@@ -51,40 +51,40 @@ VerifyButtons::VerifyButtons( TQWidget* parent, const char* name )
TQWhatsThis::add( _verify, i18n("Shows what part of the regular expression is being matched in the <i>verifier window</i>."
"(The window below the graphical editor window)."));
layout->addWidget( _verify );
- connect( _verify, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( verify() ) );
+ connect( _verify, TQ_SIGNAL( clicked() ), this, TQ_SIGNAL( verify() ) );
TQToolButton* button = new TQToolButton(this);
button->setPixmap( Util::getSystemIcon( TQString::fromLatin1("document-open")) );
layout->addWidget( button );
- connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(loadText()));
+ connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(loadText()));
TQToolTip::add( button, i18n("Load text in the verifier window") );
button = new TQToolButton(this);
button->setPixmap( Util::getSystemIcon( TQString::fromLatin1("package_settings")) );
layout->addWidget( button );
- connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(configure()));
+ connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(configure()));
TQToolTip::add( button, i18n("Settings") );
// It is currently not possible to ask for the paragraph being highlighted, thefore scrolling to next/prev match
// do not work. Enable this when they work.
// _first = new TQToolButton( TQString::fromLatin1("<<"), this);
// layout->addWidget( _first );
- // connect(_first, TQT_SIGNAL(clicked()), this, TQT_SIGNAL( gotoFirst()));
+ // connect(_first, TQ_SIGNAL(clicked()), this, TQ_SIGNAL( gotoFirst()));
// _first->setFixedWidth( 25 );
//
// _prev = new TQToolButton(TQString::fromLatin1("<"), this);
// layout->addWidget( _prev );
- // connect(_prev, TQT_SIGNAL(clicked()), this, TQT_SIGNAL( gotoPrev()));
+ // connect(_prev, TQ_SIGNAL(clicked()), this, TQ_SIGNAL( gotoPrev()));
// _prev->setFixedWidth( 20 );
//
// _next = new TQToolButton(TQString::fromLatin1(">"), this);
// layout->addWidget( _next );
- // connect(_next, TQT_SIGNAL(clicked()), this, TQT_SIGNAL( gotoNext()));
+ // connect(_next, TQ_SIGNAL(clicked()), this, TQ_SIGNAL( gotoNext()));
// _next->setFixedWidth( 20 );
//
// _last = new TQToolButton(TQString::fromLatin1(">>"), this);
// layout->addWidget( _last );
- // connect(_last, TQT_SIGNAL(clicked()), this, TQT_SIGNAL( gotoLast()));
+ // connect(_last, TQ_SIGNAL(clicked()), this, TQ_SIGNAL( gotoLast()));
// _last->setFixedWidth( 25 );
// Same as above
@@ -102,12 +102,12 @@ VerifyButtons::VerifyButtons( TQWidget* parent, const char* name )
// TQt
RegExpConverter* converter = new TQtRegExpConverter();
- _converters.append( tqMakePair( converter, static_cast<TQAction*>( 0 ) ) );
+ _converters.append( qMakePair( converter, static_cast<TQAction*>( 0 ) ) );
TQString qtConverterName = converter->name();
// Emacs
converter = new EmacsRegExpConverter();
- _converters.append( tqMakePair( converter, static_cast<TQAction*>( 0 ) ) );
+ _converters.append( qMakePair( converter, static_cast<TQAction*>( 0 ) ) );
// -------------------------------------------------- Initialize the config menu
@@ -117,8 +117,8 @@ VerifyButtons::VerifyButtons( TQWidget* parent, const char* name )
TQAction* autoVerify = new TQAction( i18n("Verify on the Fly"), 0, this );
autoVerify->setToggleAction( true );
autoVerify->setOn( true );
- connect( autoVerify, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( updateVerifyButton( bool ) ) );
- connect( autoVerify, TQT_SIGNAL( toggled( bool ) ), this, TQT_SIGNAL( autoVerify( bool ) ) );
+ connect( autoVerify, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( updateVerifyButton( bool ) ) );
+ connect( autoVerify, TQ_SIGNAL( toggled( bool ) ), this, TQ_SIGNAL( autoVerify( bool ) ) );
autoVerify->addTo( _configMenu );
autoVerify->setToolTip( i18n( "Toggle on-the-fly verification of regular expression" ) );
autoVerify->setWhatsThis( i18n( "Enabling this option will make the verifier update for each edit. "
@@ -138,7 +138,7 @@ VerifyButtons::VerifyButtons( TQWidget* parent, const char* name )
(*it).second = action;
}
grp->addTo( languages );
- connect( grp, TQT_SIGNAL( selected( TQAction* ) ), this, TQT_SLOT( slotChangeSyntax( TQAction* ) ) );
+ connect( grp, TQ_SIGNAL( selected( TQAction* ) ), this, TQ_SLOT( slotChangeSyntax( TQAction* ) ) );
_configMenu->setItemEnabled( _languageId, false );
// Select the TQt converter by default