|
|
|
@ -206,7 +206,7 @@ void Highlight_Config::highlightTextEditButtonClicked()
|
|
|
|
|
{
|
|
|
|
|
// tdeutils was installed, so the dialog was found. Fetch the editor interface.
|
|
|
|
|
KRegExpEditorInterface *reEditor =
|
|
|
|
|
static_cast<KRegExpEditorInterface *>(editorDialog->qt_cast( "KRegExpEditorInterface" ) );
|
|
|
|
|
static_cast<KRegExpEditorInterface *>(editorDialog->tqt_cast( "KRegExpEditorInterface" ) );
|
|
|
|
|
Q_ASSERT( reEditor ); // This should not fail!// now use the editor.
|
|
|
|
|
reEditor->setRegExp(patternInput->text());
|
|
|
|
|
int dlgResult = editorDialog->exec();
|
|
|
|
|