From 1d421717fba9b8ea1ca121a58e1023b8a6a8871b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:33:07 +0900 Subject: Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro --- kmail/kmcomposewin.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmail/kmcomposewin.cpp') diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp index dc48dcbb..473d454f 100644 --- a/kmail/kmcomposewin.cpp +++ b/kmail/kmcomposewin.cpp @@ -3789,9 +3789,9 @@ void KMComposeWin::slotUndo() TQWidget* fw = focusWidget(); if (!fw) return; - if ( ::tqqt_cast(fw) ) + if ( ::tqt_cast(fw) ) static_cast(fw)->undo(); - else if (::tqqt_cast(fw)) + else if (::tqt_cast(fw)) static_cast(fw)->undo(); } @@ -3800,9 +3800,9 @@ void KMComposeWin::slotRedo() TQWidget* fw = focusWidget(); if (!fw) return; - if (::tqqt_cast(fw)) + if (::tqt_cast(fw)) static_cast(fw)->redo(); - else if (::tqqt_cast(fw)) + else if (::tqt_cast(fw)) static_cast(fw)->redo(); } @@ -3812,9 +3812,9 @@ void KMComposeWin::slotCut() TQWidget* fw = focusWidget(); if (!fw) return; - if (::tqqt_cast(fw)) + if (::tqt_cast(fw)) static_cast(fw)->cut(); - else if (::tqqt_cast(fw)) + else if (::tqt_cast(fw)) static_cast(fw)->cut(); } @@ -3888,9 +3888,9 @@ void KMComposeWin::slotMarkAll() TQWidget* fw = focusWidget(); if (!fw) return; - if (::tqqt_cast(fw)) + if (::tqt_cast(fw)) static_cast(fw)->selectAll(); - else if (::tqqt_cast(fw)) + else if (::tqt_cast(fw)) static_cast(fw)->selectAll(); } -- cgit v1.2.3