From f2aa2d5c5bd0da66040d75b6d6e52540ff6193a9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Oct 2014 00:15:29 -0500 Subject: Bring centrejust, leftjust, rightjust, text_left, text_right, text_bold, text_italic, text_under, text_strike, and spellcheck icons into XDG compliance --- src/kile/kilestdactions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/kile/kilestdactions.cpp b/src/kile/kilestdactions.cpp index c6e200c..4afcbaf 100644 --- a/src/kile/kilestdactions.cpp +++ b/src/kile/kilestdactions.cpp @@ -50,8 +50,8 @@ void setupStdTags(KileInfo *ki, TDEMainWindow *parent) (void) new KileAction::Tag(i18n("Center - \\begin{center}"),"text_center",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_center", "\\begin{center}\n","%E\n\\end{center}", 0,1, i18n("Each line must be terminated with the string \\\\.")); - (void) new KileAction::Tag(i18n("Align Left - \\begin{flushleft}"),"text_left",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushleft", "\\begin{flushleft}\n","%E\n\\end{flushleft}", 0,1, i18n("Each line must be terminated with the string \\\\.") ); - (void) new KileAction::Tag(i18n("Align Right - \\begin{flushright}"),"text_right",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushright", "\\begin{flushright}\n","%E\n\\end{flushright}", 0,1, i18n("Each line must be terminated with the string \\\\.") ); + (void) new KileAction::Tag(i18n("Align Left - \\begin{flushleft}"),"format-text-direction-ltr",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushleft", "\\begin{flushleft}\n","%E\n\\end{flushleft}", 0,1, i18n("Each line must be terminated with the string \\\\.") ); + (void) new KileAction::Tag(i18n("Align Right - \\begin{flushright}"),"format-text-direction-rtl",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushright", "\\begin{flushright}\n","%E\n\\end{flushright}", 0,1, i18n("Each line must be terminated with the string \\\\.") ); (void) new KileAction::Tag(i18n("Quote - \\begin{quote}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quote","\\begin{quote}\n","%E\n\\end{quote} ",0,1,i18n("The text is justified at both margins.\nLeaving a blank line between text produces a new paragraph.") ); (void) new KileAction::Tag(i18n("Quotation - \\begin{quotation}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quotation","\\begin{quotation}\n","%E\n\\end{quotation} ",0,1, i18n("The text is justified at both margins and there is paragraph indentation.\nLeaving a blank line between text produces a new paragraph.") ); (void) new KileAction::Tag(i18n("Verse - \\begin{verse}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_verse", "\\begin{verse}\n","%E\n\\end{verse} ",0,1,i18n("The verse environment is designed for poetry.\nSeparate the lines of each stanza with \\\\, and use one or more blank lines to separate the stanzas.") ); @@ -74,9 +74,9 @@ void setupStdTags(KileInfo *ki, TDEMainWindow *parent) (void) new KileAction::Tag(i18n("Title Page - \\begin{titlepage}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_titlepage" ,"\\begin{titlepage}\n","%E\n\\end{titlepage} ",0,1, i18n("\\begin{titlepage}\ntext\n\\end{titlepage}\nThe titlepage environment creates a title page, i.e. a page with no printed page number or heading.")); - new KileAction::Tag(i18n("Italics - \\textit{}"),"text_italic",TQt::ALT+TQt::SHIFT+TQt::Key_I, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textit","\\textit{","}",8,0,i18n("\\textit{italic text}")); + new KileAction::Tag(i18n("Italics - \\textit{}"),"format-text-italic",TQt::ALT+TQt::SHIFT+TQt::Key_I, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textit","\\textit{","}",8,0,i18n("\\textit{italic text}")); new KileAction::Tag(i18n("Slanted - \\textsl{}"),"slanted",TQt::ALT+TQt::SHIFT+TQt::Key_A, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textsl","\\textsl{","}",8,0,i18n("\\textsl{slanted text}")); - new KileAction::Tag(i18n("Boldface - \\textbf{}"),"text_bold",TQt::ALT+TQt::SHIFT+TQt::Key_B, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textbf","\\textbf{","}",8,0,i18n("\\textbf{boldface text}")); + new KileAction::Tag(i18n("Boldface - \\textbf{}"),"format-text-bold",TQt::ALT+TQt::SHIFT+TQt::Key_B, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textbf","\\textbf{","}",8,0,i18n("\\textbf{boldface text}")); new KileAction::Tag(i18n("Typewriter - \\texttt{}"),"typewriter",TQt::ALT+TQt::SHIFT+TQt::Key_T, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_texttt","\\texttt{","}",8,0,i18n("\\texttt{typewriter text}")); new KileAction::Tag(i18n("Small Caps - \\textsc{}"),TQt::ALT+TQt::SHIFT+TQt::Key_C, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textsc","\\textsc{","}",8,0,i18n("\\textsc{small caps text}")); new KileAction::Tag("\\item","item",TQt::ALT+TQt::SHIFT+TQt::Key_H, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_item","\\item ",TQString(),6,0, i18n("\\item[label] Hello!")); @@ -141,7 +141,7 @@ void setupStdTags(KileInfo *ki, TDEMainWindow *parent) actionother_list->setItems(alist); - (void) new KileAction::Tag(i18n("Underline - \\underline{}"),"text_under",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_underline", "\\underline{","}",11); + (void) new KileAction::Tag(i18n("Underline - \\underline{}"),"format-text-underline",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_underline", "\\underline{","}",11); TQString icon = ( locate("icon","default.tde/22x22/actions/key_enter.png").isEmpty() ) ? "newline" : "key_enter"; (void) new TDEAction(i18n("Smart New Line"), icon, TQt::SHIFT+TQt::Key_Return , ki->editorExtension(), TQT_SLOT(insertIntelligentNewline()), parent->actionCollection(),"tag_newline"); -- cgit v1.2.1