summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--konversation/src/autoreplace_preferences.cpp2
-rw-r--r--konversation/src/highlight_preferences.cpp2
2 files changed, 2 insertions, 2 deletions
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<KRegExpEditorInterface *>(editorDialog->qt_cast( "KRegExpEditorInterface" ) );
+ static_cast<KRegExpEditorInterface *>(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<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();