|
|
|
@ -1340,7 +1340,7 @@ void KMComposeWin::setupActions(void)
|
|
|
|
|
KStdAction::findNext(TQT_TQOBJECT(this), TQT_SLOT(slotSearchAgain()), actionCollection());
|
|
|
|
|
|
|
|
|
|
KStdAction::replace (TQT_TQOBJECT(this), TQT_SLOT(slotReplace()), actionCollection());
|
|
|
|
|
KStdAction::spelling (TQT_TQOBJECT(this), TQT_SLOT(slotSpellcheck()), actionCollection(), "spellcheck");
|
|
|
|
|
KStdAction::spelling (TQT_TQOBJECT(this), TQT_SLOT(slotSpellcheck()), actionCollection(), "tools-check-spelling");
|
|
|
|
|
|
|
|
|
|
mPasteQuotation = new TDEAction (i18n("Pa&ste as Quotation"),0,TQT_TQOBJECT(this),TQT_SLOT( slotPasteClipboardAsQuotation()),
|
|
|
|
|
actionCollection(), "paste_quoted");
|
|
|
|
@ -1389,7 +1389,7 @@ void KMComposeWin::setupActions(void)
|
|
|
|
|
mSnippetAction->setChecked( GlobalSettings::self()->showSnippetManager() );
|
|
|
|
|
|
|
|
|
|
mAutoSpellCheckingAction =
|
|
|
|
|
new TDEToggleAction( i18n( "&Automatic Spellchecking" ), "spellcheck", 0,
|
|
|
|
|
new TDEToggleAction( i18n( "&Automatic Spellchecking" ), "tools-check-spelling", 0,
|
|
|
|
|
actionCollection(), "options_auto_spellchecking" );
|
|
|
|
|
const bool spellChecking = GlobalSettings::self()->autoSpellChecking();
|
|
|
|
|
mAutoSpellCheckingAction->setEnabled( !GlobalSettings::self()->useExternalEditor() );
|
|
|
|
@ -1580,25 +1580,25 @@ void KMComposeWin::setupActions(void)
|
|
|
|
|
connect( fontSizeAction, TQT_SIGNAL( fontSizeChanged( int ) ),
|
|
|
|
|
TQT_SLOT( slotSizeAction( int ) ) );
|
|
|
|
|
|
|
|
|
|
alignLeftAction = new TDEToggleAction (i18n("Align Left"), "text_left", 0,
|
|
|
|
|
alignLeftAction = new TDEToggleAction (i18n("Align Left"), "format-text-direction-ltr", 0,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotAlignLeft()), actionCollection(),
|
|
|
|
|
"align_left");
|
|
|
|
|
alignLeftAction->setChecked( true );
|
|
|
|
|
alignRightAction = new TDEToggleAction (i18n("Align Right"), "text_right", 0,
|
|
|
|
|
alignRightAction = new TDEToggleAction (i18n("Align Right"), "format-text-direction-rtl", 0,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotAlignRight()), actionCollection(),
|
|
|
|
|
"align_right");
|
|
|
|
|
alignCenterAction = new TDEToggleAction (i18n("Align Center"), "text_center", 0,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotAlignCenter()), actionCollection(),
|
|
|
|
|
"align_center");
|
|
|
|
|
textBoldAction = new TDEToggleAction( i18n("&Bold"), "text_bold", CTRL+Key_B,
|
|
|
|
|
textBoldAction = new TDEToggleAction( i18n("&Bold"), "format-text-bold", CTRL+Key_B,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotTextBold()),
|
|
|
|
|
actionCollection(), "text_bold");
|
|
|
|
|
textItalicAction = new TDEToggleAction( i18n("&Italic"), "text_italic", CTRL+Key_I,
|
|
|
|
|
actionCollection(), "format-text-bold");
|
|
|
|
|
textItalicAction = new TDEToggleAction( i18n("&Italic"), "format-text-italic", CTRL+Key_I,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotTextItalic()),
|
|
|
|
|
actionCollection(), "text_italic");
|
|
|
|
|
textUnderAction = new TDEToggleAction( i18n("&Underline"), "text_under", CTRL+Key_U,
|
|
|
|
|
actionCollection(), "format-text-italic");
|
|
|
|
|
textUnderAction = new TDEToggleAction( i18n("&Underline"), "format-text-underline", CTRL+Key_U,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotTextUnder()),
|
|
|
|
|
actionCollection(), "text_under");
|
|
|
|
|
actionCollection(), "format-text-underline");
|
|
|
|
|
actionFormatReset = new TDEAction( i18n( "Reset Font Settings" ), "eraser", 0,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( slotFormatReset() ),
|
|
|
|
|
actionCollection(), "format_reset");
|
|
|
|
|