|
|
@ -246,7 +246,7 @@ void HighlightPreferences::slotEditRegExp()
|
|
|
|
if ( editorDialog )
|
|
|
|
if ( editorDialog )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// tdeutils was installed, so the dialog was found fetch the editor interface
|
|
|
|
// tdeutils was installed, so the dialog was found fetch the editor interface
|
|
|
|
KRegExpEditorInterface *editor = static_cast<KRegExpEditorInterface *>( editorDialog->qt_cast( "KRegExpEditorInterface" ) );
|
|
|
|
KRegExpEditorInterface *editor = static_cast<KRegExpEditorInterface *>( editorDialog->tqt_cast( "KRegExpEditorInterface" ) );
|
|
|
|
Q_ASSERT( editor ); // This should not fail!
|
|
|
|
Q_ASSERT( editor ); // This should not fail!
|
|
|
|
// now use the editor.
|
|
|
|
// now use the editor.
|
|
|
|
editor->setRegExp(preferencesDialog->m_search->text());
|
|
|
|
editor->setRegExp(preferencesDialog->m_search->text());
|
|
|
|