kdeui
KStdGuiItem Class Reference
Provides a set of standardized KGuiItems. More...
#include <kstdguiitem.h>
Detailed Description
Provides a set of standardized KGuiItems.The various static methods returns standardized KGuiItem's conforming to the KDE UI Standards. Use them instead of creating your own.
Definition at line 37 of file kstdguiitem.h.
Member Enumeration Documentation
The back and forward items by default use the RTL settings for Hebrew and Arab countries.
If you want those actions to ignore the RTL value and force 'Western' behavior instead, use the IgnoreRTL value instead.
Definition at line 45 of file kstdguiitem.h.
enum KStdGuiItem::StdItem |
- Enumerator:
Definition at line 47 of file kstdguiitem.h.
Member Function Documentation
KGuiItem KStdGuiItem::add | ( | ) | [static] |
KGuiItem KStdGuiItem::adminMode | ( | ) | [static] |
Returns a KGuiItem suiting for cases where code or functionality runs under root privileges.
Used in conjunction with KConfig Modules.
Definition at line 151 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::apply | ( | ) | [static] |
Definition at line 142 of file kstdguiitem.cpp.
Return a GUI item for a 'back' action, like Konqueror's back button.
This GUI item can optionally honor the user's setting for BiDi, so the icon for right-to-left languages (Hebrew and Arab) has the arrow pointing in the opposite direction. By default the arrow points in the Western 'back' direction (i.e. to the left). This is because usually you only want the Bidi aware GUI item if you also want the 'forward' item. Those two are available in the separate backAndForward() method.
Definition at line 184 of file kstdguiitem.cpp.
Return both a back and a forward item.
This function always returns items that are aware of the Right-to-Left setting for Arab and Hebrew locales. If you have a reason for wanting the 'Western' back/forward buttons, please use the back() and forward() items instead.
Definition at line 200 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::cancel | ( | ) | [static] |
Definition at line 103 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::clear | ( | ) | [static] |
Definition at line 159 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::close | ( | ) | [static] |
Definition at line 172 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::configure | ( | ) | [static] |
KGuiItem KStdGuiItem::cont | ( | ) | [static] |
Returns a "continue" item.
The short name is due to "continue" being a reserved word in the C++ language.
Definition at line 212 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::defaults | ( | ) | [static] |
Definition at line 178 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::del | ( | ) | [static] |
Returns a "delete" item.
The short name is due to "delete" being a reserved word in the C++ language.
- Since:
- 3.3
Definition at line 218 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::discard | ( | ) | [static] |
Definition at line 118 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::dontSave | ( | ) | [static] |
Definition at line 130 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::find | ( | ) | [static] |
Return a GUI item for a 'forward' action, like Konqueror's forward button.
This GUI item can optionally honor the user's setting for BiDi, so the icon for right-to-left languages (Hebrew and Arab) has the arrow pointing in the opposite direction. By default the arrow points in the Western 'forward' direction (i.e. to the right). This is because usually you only want the Bidi aware GUI item if you also want the 'back' item. Those two are available in the separate backAndForward() method.
Definition at line 192 of file kstdguiitem.cpp.
Definition at line 25 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::help | ( | ) | [static] |
Definition at line 166 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::insert | ( | ) | [static] |
Definition at line 242 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::no | ( | ) | [static] |
Definition at line 113 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::ok | ( | ) | [static] |
Definition at line 97 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::open | ( | ) | [static] |
Definition at line 224 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::overwrite | ( | ) | [static] |
KGuiItem KStdGuiItem::print | ( | ) | [static] |
Definition at line 205 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::properties | ( | ) | [static] |
KGuiItem KStdGuiItem::quit | ( | ) | [static] |
Definition at line 230 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::remove | ( | ) | [static] |
KGuiItem KStdGuiItem::reset | ( | ) | [static] |
Definition at line 236 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::save | ( | ) | [static] |
Definition at line 125 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::saveAs | ( | ) | [static] |
Definition at line 136 of file kstdguiitem.cpp.
Definition at line 62 of file kstdguiitem.cpp.
KGuiItem KStdGuiItem::stop | ( | ) | [static] |
KGuiItem KStdGuiItem::test | ( | ) | [static] |
KGuiItem KStdGuiItem::yes | ( | ) | [static] |
Definition at line 108 of file kstdguiitem.cpp.
The documentation for this class was generated from the following files: