diff options
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r-- | kmail/kmcomposewin.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp index dc48dcbbe..473d454f8 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<KEdit*>(fw) ) + if ( ::tqt_cast<KEdit*>(fw) ) static_cast<TQTextEdit*>(fw)->undo(); - else if (::tqqt_cast<TQLineEdit*>(fw)) + else if (::tqt_cast<TQLineEdit*>(fw)) static_cast<TQLineEdit*>(fw)->undo(); } @@ -3800,9 +3800,9 @@ void KMComposeWin::slotRedo() TQWidget* fw = focusWidget(); if (!fw) return; - if (::tqqt_cast<KEdit*>(fw)) + if (::tqt_cast<KEdit*>(fw)) static_cast<KEdit*>(fw)->redo(); - else if (::tqqt_cast<TQLineEdit*>(fw)) + else if (::tqt_cast<TQLineEdit*>(fw)) static_cast<TQLineEdit*>(fw)->redo(); } @@ -3812,9 +3812,9 @@ void KMComposeWin::slotCut() TQWidget* fw = focusWidget(); if (!fw) return; - if (::tqqt_cast<KEdit*>(fw)) + if (::tqt_cast<KEdit*>(fw)) static_cast<KEdit*>(fw)->cut(); - else if (::tqqt_cast<TQLineEdit*>(fw)) + else if (::tqt_cast<TQLineEdit*>(fw)) static_cast<TQLineEdit*>(fw)->cut(); } @@ -3888,9 +3888,9 @@ void KMComposeWin::slotMarkAll() TQWidget* fw = focusWidget(); if (!fw) return; - if (::tqqt_cast<TQLineEdit*>(fw)) + if (::tqt_cast<TQLineEdit*>(fw)) static_cast<TQLineEdit*>(fw)->selectAll(); - else if (::tqqt_cast<KEdit*>(fw)) + else if (::tqt_cast<KEdit*>(fw)) static_cast<KEdit*>(fw)->selectAll(); } |