summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/kregexpeditorgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/kregexpeditorgui.cpp')
-rw-r--r--kregexpeditor/kregexpeditorgui.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kregexpeditor/kregexpeditorgui.cpp b/kregexpeditor/kregexpeditorgui.cpp
index 46fc452..5f89df3 100644
--- a/kregexpeditor/kregexpeditorgui.cpp
+++ b/kregexpeditor/kregexpeditorgui.cpp
@@ -41,9 +41,9 @@ KRegExpEditorGUI::KRegExpEditorGUI(TQWidget *parent, const char *name,
TQHBoxLayout* layout = new TQHBoxLayout( this, 6 );
_editor = new KRegExpEditorPrivate( this, "_editor" );
layout->addWidget( _editor );
- connect( _editor, TQT_SIGNAL( canUndo(bool) ), this, TQT_SIGNAL( canUndo(bool) ) );
- connect( _editor, TQT_SIGNAL( canRedo(bool) ), this, TQT_SIGNAL( canRedo(bool) ) );
- connect( _editor, TQT_SIGNAL( changes(bool) ), this, TQT_SIGNAL( changes(bool) ) );
+ connect( _editor, TQ_SIGNAL( canUndo(bool) ), this, TQ_SIGNAL( canUndo(bool) ) );
+ connect( _editor, TQ_SIGNAL( canRedo(bool) ), this, TQ_SIGNAL( canRedo(bool) ) );
+ connect( _editor, TQ_SIGNAL( changes(bool) ), this, TQ_SIGNAL( changes(bool) ) );
}
TQString KRegExpEditorGUI::regExp() const
@@ -78,14 +78,14 @@ KRegExpEditorGUIDialog::KRegExpEditorGUIDialog( TQWidget *parent,
layout->setAutoAdd( true );
_editor = new KRegExpEditorGUI( frame );
- connect( _editor, TQT_SIGNAL( canUndo(bool) ), this, TQT_SIGNAL( canUndo(bool) ) );
- connect( _editor, TQT_SIGNAL( canRedo(bool) ), this, TQT_SIGNAL( canRedo(bool) ) );
- connect( _editor, TQT_SIGNAL( changes(bool) ), this, TQT_SIGNAL( changes(bool) ) );
+ connect( _editor, TQ_SIGNAL( canUndo(bool) ), this, TQ_SIGNAL( canUndo(bool) ) );
+ connect( _editor, TQ_SIGNAL( canRedo(bool) ), this, TQ_SIGNAL( canRedo(bool) ) );
+ connect( _editor, TQ_SIGNAL( changes(bool) ), this, TQ_SIGNAL( changes(bool) ) );
resize( 640, 400 );
setHelp( TQString(), TQString::fromLocal8Bit( "KRegExpEditor" ) );
#ifdef TQT_ONLY
- connect( this, TQT_SIGNAL( helpClicked() ), _editor, TQT_SLOT( showHelp() ) );
+ connect( this, TQ_SIGNAL( helpClicked() ), _editor, TQ_SLOT( showHelp() ) );
#endif
}
@@ -130,7 +130,7 @@ void KRegExpEditorGUI::doSomething( TQString method, void* arguments )
_editor->setAllowNonTQtSyntax( (bool) arguments );
}
else {
- tqFatal( "%s", tqtr("Method '%1' is not valid!").arg(method).latin1() );
+ tqFatal( i18n("Method '%1' is not valid!").arg(method) );
}
}
@@ -150,7 +150,7 @@ void KRegExpEditorGUI::showHelp()
#ifdef TQT_ONLY
_editor->showHelp();
#else
- kapp->invokeHelp( TQString(), TQString::fromLocal8Bit( "KRegExpEditor" ) );
+ tdeApp->invokeHelp( TQString(), TQString::fromLocal8Bit( "KRegExpEditor" ) );
#endif
}