|
|
@ -820,16 +820,16 @@ void InlineEditors::initToolBars(TDEActionCollection *actionCollection)
|
|
|
|
richTextColor->setColor(textColor);
|
|
|
|
richTextColor->setColor(textColor);
|
|
|
|
action = new KWidgetAction(richTextColor, i18n("Color"), TDEShortcut(), 0, TQT_SLOT(), actionCollection, "richtext_color");
|
|
|
|
action = new KWidgetAction(richTextColor, i18n("Color"), TDEShortcut(), 0, TQT_SLOT(), actionCollection, "richtext_color");
|
|
|
|
|
|
|
|
|
|
|
|
richTextBold = new TDEToggleAction( i18n("Bold"), "text_bold", "Ctrl+B", actionCollection, "richtext_bold" );
|
|
|
|
richTextBold = new TDEToggleAction( i18n("Bold"), "format-text-bold", "Ctrl+B", actionCollection, "richtext_bold" );
|
|
|
|
richTextItalic = new TDEToggleAction( i18n("Italic"), "text_italic", "Ctrl+I", actionCollection, "richtext_italic" );
|
|
|
|
richTextItalic = new TDEToggleAction( i18n("Italic"), "format-text-italic", "Ctrl+I", actionCollection, "richtext_italic" );
|
|
|
|
richTextUnderline = new TDEToggleAction( i18n("Underline"), "text_under", "Ctrl+U", actionCollection, "richtext_underline" );
|
|
|
|
richTextUnderline = new TDEToggleAction( i18n("Underline"), "format-text-underline", "Ctrl+U", actionCollection, "richtext_underline" );
|
|
|
|
|
|
|
|
|
|
|
|
// richTextSuper = new TDEToggleAction( i18n("Superscript"), "text_super", "", actionCollection, "richtext_super" );
|
|
|
|
// richTextSuper = new TDEToggleAction( i18n("Superscript"), "text_super", "", actionCollection, "richtext_super" );
|
|
|
|
// richTextSub = new TDEToggleAction( i18n("Subscript"), "text_sub", "", actionCollection, "richtext_sub" );
|
|
|
|
// richTextSub = new TDEToggleAction( i18n("Subscript"), "text_sub", "", actionCollection, "richtext_sub" );
|
|
|
|
|
|
|
|
|
|
|
|
richTextLeft = new TDEToggleAction( i18n("Align Left"), "text_left", "", actionCollection, "richtext_left" );
|
|
|
|
richTextLeft = new TDEToggleAction( i18n("Align Left"), "format-text-direction-ltr", "", actionCollection, "richtext_left" );
|
|
|
|
richTextCenter = new TDEToggleAction( i18n("Centered"), "text_center", "", actionCollection, "richtext_center" );
|
|
|
|
richTextCenter = new TDEToggleAction( i18n("Centered"), "text_center", "", actionCollection, "richtext_center" );
|
|
|
|
richTextRight = new TDEToggleAction( i18n("Align Right"), "text_right", "", actionCollection, "richtext_right" );
|
|
|
|
richTextRight = new TDEToggleAction( i18n("Align Right"), "format-text-direction-rtl", "", actionCollection, "richtext_right" );
|
|
|
|
richTextJustified = new TDEToggleAction( i18n("Justified"), "text_block", "", actionCollection, "richtext_block" );
|
|
|
|
richTextJustified = new TDEToggleAction( i18n("Justified"), "text_block", "", actionCollection, "richtext_block" );
|
|
|
|
|
|
|
|
|
|
|
|
richTextLeft->setExclusiveGroup("rt_justify");
|
|
|
|
richTextLeft->setExclusiveGroup("rt_justify");
|
|
|
|