|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|