KDEUI
Go to the documentation of this file.
21 #include <QtGui/QApplication>
26 namespace KStandardGuiItem
32 case Ok :
return ok();
35 case No :
return no();
61 case Remove :
return remove();
72 case Ok :
return QLatin1String(
"ok");
73 case Cancel :
return QLatin1String(
"cancel");
74 case Yes :
return QLatin1String(
"yes");
75 case No :
return QLatin1String(
"no");
76 case Discard :
return QLatin1String(
"discard");
77 case Save :
return QLatin1String(
"save");
78 case DontSave :
return QLatin1String(
"dontSave");
79 case SaveAs :
return QLatin1String(
"saveAs");
80 case Apply :
return QLatin1String(
"apply");
81 case Help :
return QLatin1String(
"help");
82 case Close :
return QLatin1String(
"close");
83 case CloseWindow :
return QLatin1String(
"closeWindow");
85 case Defaults :
return QLatin1String(
"defaults");
86 case Back :
return QLatin1String(
"back");
87 case Forward :
return QLatin1String(
"forward");
88 case Print :
return QLatin1String(
"print");
89 case Continue :
return QLatin1String(
"continue");
90 case Open :
return QLatin1String(
"open");
91 case Quit :
return QLatin1String(
"quit");
92 case AdminMode:
return QLatin1String(
"adminMode");
93 case Delete :
return QLatin1String(
"delete");
94 case Insert :
return QLatin1String(
"insert");
95 case Configure:
return QLatin1String(
"configure");
96 case Find :
return QLatin1String(
"find");
97 case Stop :
return QLatin1String(
"stop");
98 case Add :
return QLatin1String(
"add");
99 case Remove :
return QLatin1String(
"remove");
100 case Test :
return QLatin1String(
"test");
101 case Properties :
return QLatin1String(
"properties");
102 case Overwrite :
return QLatin1String(
"overwrite");
130 return KGuiItem(
i18n(
"&Discard" ),
"edit-clear",
i18n(
"Discard changes" ),
131 i18n(
"Pressing this button will discard all recent "
132 "changes made in this dialog." ) );
143 i18n(
"Do not save data" ) );
148 return KGuiItem(
i18n(
"Save &As..." ),
"document-save-as",
149 i18n(
"Save file with another name" ) );
154 return KGuiItem(
i18n(
"&Apply" ),
"dialog-ok-apply",
i18n(
"Apply changes" ),
155 i18n(
"When you click <b>Apply</b>, the settings will be "
156 "handed over to the program, but the dialog "
157 "will not be closed.\n"
158 "Use this to try different settings." ) );
163 return KGuiItem(
i18n(
"Administrator &Mode..." ),
"",
i18n(
"Enter Administrator Mode" ),
164 i18n(
"When you click <b>Administrator Mode</b> you will be prompted "
165 "for the administrator (root) password in order to make changes "
166 "which require root privileges." ) );
172 i18n(
"Clear input" ),
173 i18n(
"Clear the input in the edit field" ) );
178 return KGuiItem(
i18nc(
"show help",
"&Help" ),
"help-contents",
179 i18n(
"Show help" ) );
185 i18n(
"Close the current window or document" ) );
190 return KGuiItem(
i18n(
"&Close Window" ),
"window-close",
191 i18n(
"Close the current window." ) );
196 return KGuiItem(
i18n(
"&Close Document" ),
"document-close",
197 i18n(
"Close the current document." ) );
202 return KGuiItem(
i18n(
"&Defaults" ),
"document-revert",
203 i18n(
"Reset all items to their default values" ) );
208 QString icon = ( useBidi ==
UseRTL && QApplication::isRightToLeft() )
209 ?
"go-next" :
"go-previous";
211 i18n(
"Go back one step" ) );
216 QString icon = ( useBidi ==
UseRTL && QApplication::isRightToLeft() )
217 ?
"go-previous" :
"go-next";
219 i18n(
"Go forward one step" ) );
230 i18n(
"Opens the print dialog to print "
231 "the current document" ) );
237 i18n(
"Continue operation" ) );
243 i18n(
"Delete item(s)" ) );
249 i18n(
"Open file" ) );
255 i18n(
"Quit application" ) );
261 i18n(
"Reset configuration" ) );
271 return KGuiItem(
i18n(
"Confi&gure..." ),
"configure" );
301 return KGuiItem(
i18n(
"Properties"),
"document-properties");
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Mar 20 2013 07:17:37 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.