|
|
|
@ -130,7 +130,7 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac )
|
|
|
|
|
connect( enableRichText, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( slotSetRichTextEnabled(bool) ) );
|
|
|
|
|
|
|
|
|
|
checkSpelling = new TDEAction( i18n("Check &Spelling"), "spellcheck", 0,
|
|
|
|
|
checkSpelling = new TDEAction( i18n("Check &Spelling"), "tools-check-spelling", 0,
|
|
|
|
|
TQT_TQOBJECT(editor), TQT_SLOT( checkSpelling() ), ac, "check_spelling" );
|
|
|
|
|
|
|
|
|
|
//Fg Color
|
|
|
|
@ -156,17 +156,17 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac )
|
|
|
|
|
this, TQT_SLOT( setFontSize(int) ) );
|
|
|
|
|
|
|
|
|
|
//Formatting
|
|
|
|
|
action_bold = new TDEToggleAction( i18n("&Bold"), "text_bold", CTRL+Key_B,
|
|
|
|
|
action_bold = new TDEToggleAction( i18n("&Bold"), "format-text-bold", CTRL+Key_B,
|
|
|
|
|
ac, "format_bold" );
|
|
|
|
|
connect( action_bold, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( setBold(bool) ) );
|
|
|
|
|
|
|
|
|
|
action_italic = new TDEToggleAction( i18n("&Italic"), "text_italic", CTRL+Key_I,
|
|
|
|
|
action_italic = new TDEToggleAction( i18n("&Italic"), "format-text-italic", CTRL+Key_I,
|
|
|
|
|
ac, "format_italic" );
|
|
|
|
|
connect( action_italic, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( setItalic(bool) ) );
|
|
|
|
|
|
|
|
|
|
action_underline = new TDEToggleAction( i18n("&Underline"), "text_under", CTRL+Key_U,
|
|
|
|
|
action_underline = new TDEToggleAction( i18n("&Underline"), "format-text-underline", CTRL+Key_U,
|
|
|
|
|
ac, "format_underline" );
|
|
|
|
|
connect( action_underline, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( setUnderline(bool) ) );
|
|
|
|
@ -180,7 +180,7 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac )
|
|
|
|
|
updateFont();
|
|
|
|
|
|
|
|
|
|
//Alignment
|
|
|
|
|
action_align_left = new TDEToggleAction( i18n("Align &Left"), "text_left", 0,
|
|
|
|
|
action_align_left = new TDEToggleAction( i18n("Align &Left"), "format-text-direction-ltr", 0,
|
|
|
|
|
ac, "format_align_left" );
|
|
|
|
|
connect( action_align_left, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( setAlignLeft(bool) ) );
|
|
|
|
@ -190,7 +190,7 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac )
|
|
|
|
|
connect( action_align_center, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( setAlignCenter(bool) ) );
|
|
|
|
|
|
|
|
|
|
action_align_right = new TDEToggleAction( i18n("Align &Right"), "text_right", 0,
|
|
|
|
|
action_align_right = new TDEToggleAction( i18n("Align &Right"), "format-text-direction-rtl", 0,
|
|
|
|
|
ac, "format_align_right" );
|
|
|
|
|
connect( action_align_right, TQT_SIGNAL( toggled(bool) ),
|
|
|
|
|
this, TQT_SLOT( setAlignRight(bool) ) );
|
|
|
|
|