diff --git a/konversation/src/autoreplace_preferences.cpp b/konversation/src/autoreplace_preferences.cpp index b66eb25..b96bf67 100644 --- a/konversation/src/autoreplace_preferences.cpp +++ b/konversation/src/autoreplace_preferences.cpp @@ -385,7 +385,7 @@ void Autoreplace_Config::showRegExpEditor() { // tdeutils was installed, so the dialog was found. Fetch the editor interface. KRegExpEditorInterface *reEditor = - static_cast(editorDialog->qt_cast( "KRegExpEditorInterface" ) ); + static_cast(editorDialog->tqt_cast( "KRegExpEditorInterface" ) ); Q_ASSERT(reEditor); // This should not fail! reEditor->setRegExp(patternInput->text()); int dlgResult = editorDialog->exec(); diff --git a/konversation/src/highlight_preferences.cpp b/konversation/src/highlight_preferences.cpp index c59a545..b87adbe 100644 --- a/konversation/src/highlight_preferences.cpp +++ b/konversation/src/highlight_preferences.cpp @@ -206,7 +206,7 @@ void Highlight_Config::highlightTextEditButtonClicked() { // tdeutils was installed, so the dialog was found. Fetch the editor interface. KRegExpEditorInterface *reEditor = - static_cast(editorDialog->qt_cast( "KRegExpEditorInterface" ) ); + static_cast(editorDialog->tqt_cast( "KRegExpEditorInterface" ) ); Q_ASSERT( reEditor ); // This should not fail!// now use the editor. reEditor->setRegExp(patternInput->text()); int dlgResult = editorDialog->exec();