|
|
|
@ -2541,19 +2541,19 @@ void KPrView::setupActions()
|
|
|
|
|
connect( actionTextFontFamily , TQT_SIGNAL( activated( const TQString & ) ),
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( fontSelected( const TQString & ) ) );
|
|
|
|
|
|
|
|
|
|
actionTextBold = new TDEToggleAction( i18n( "&Bold" ), "text_bold", CTRL + TQt::Key_B,
|
|
|
|
|
actionTextBold = new TDEToggleAction( i18n( "&Bold" ), "format-text-bold", CTRL + TQt::Key_B,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( textBold() ),
|
|
|
|
|
actionCollection(), "text_bold" );
|
|
|
|
|
actionCollection(), "format-text-bold" );
|
|
|
|
|
|
|
|
|
|
actionTextItalic = new TDEToggleAction( i18n( "&Italic" ), "text_italic", CTRL + TQt::Key_I,
|
|
|
|
|
actionTextItalic = new TDEToggleAction( i18n( "&Italic" ), "format-text-italic", CTRL + TQt::Key_I,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( textItalic() ),
|
|
|
|
|
actionCollection(), "text_italic" );
|
|
|
|
|
actionCollection(), "format-text-italic" );
|
|
|
|
|
|
|
|
|
|
actionTextUnderline = new TDEToggleAction( i18n( "&Underline" ), "text_under", CTRL + TQt::Key_U,
|
|
|
|
|
actionTextUnderline = new TDEToggleAction( i18n( "&Underline" ), "format-text-underline", CTRL + TQt::Key_U,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( textUnderline() ),
|
|
|
|
|
actionCollection(), "text_underline" );
|
|
|
|
|
|
|
|
|
|
actionFormatStrikeOut = new TDEToggleAction( i18n( "&Strike Out" ), "text_strike", 0 ,
|
|
|
|
|
actionFormatStrikeOut = new TDEToggleAction( i18n( "&Strike Out" ), "format-text-strikethrough", 0 ,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( textStrikeOut() ),
|
|
|
|
|
actionCollection(), "format_strike" );
|
|
|
|
|
|
|
|
|
@ -2563,7 +2563,7 @@ void KPrView::setupActions()
|
|
|
|
|
actionTextColor->setDefaultColor(TQColor());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actionTextAlignLeft = new TDEToggleAction( i18n( "Align &Left" ), "text_left", ALT + TQt::Key_L,
|
|
|
|
|
actionTextAlignLeft = new TDEToggleAction( i18n( "Align &Left" ), "format-text-direction-ltr", ALT + TQt::Key_L,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( textAlignLeft() ),
|
|
|
|
|
actionCollection(), "text_alignleft" );
|
|
|
|
|
actionTextAlignLeft->setExclusiveGroup( "align" );
|
|
|
|
@ -2574,7 +2574,7 @@ void KPrView::setupActions()
|
|
|
|
|
actionCollection(), "text_aligncenter" );
|
|
|
|
|
actionTextAlignCenter->setExclusiveGroup( "align" );
|
|
|
|
|
|
|
|
|
|
actionTextAlignRight = new TDEToggleAction( i18n( "Align &Right" ), "text_right", ALT + TQt::Key_R,
|
|
|
|
|
actionTextAlignRight = new TDEToggleAction( i18n( "Align &Right" ), "format-text-direction-rtl", ALT + TQt::Key_R,
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT( textAlignRight() ),
|
|
|
|
|
actionCollection(), "text_alignright" );
|
|
|
|
|
actionTextAlignRight->setExclusiveGroup( "align" );
|
|
|
|
|