KDEUI
KStandardGuiItem Namespace Reference
Provides a set of standardized KGuiItems. More...
Detailed Description
Provides a set of standardized KGuiItems.The various KDEUI_EXPORT methods returns standardized KGuiItem's conforming to the KDE UI Standards. Use them instead of creating your own.
Enumeration Type 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 46 of file kstandardguiitem.h.
- Enumerator:
Definition at line 48 of file kstandardguiitem.h.
Function Documentation
KGuiItem KStandardGuiItem::add | ( | ) |
KGuiItem KStandardGuiItem::adminMode | ( | ) |
Returns a KGuiItem suiting for cases where code or functionality runs under root privileges.
Used in conjunction with KConfig Modules.
Definition at line 157 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::apply | ( | ) |
KGuiItem KStandardGuiItem::back | ( | BidiMode | useBidi = IgnoreRTL |
) |
Returns the 'Back' gui item, 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 190 of file kstandardguiitem.cpp.
Return both a back and a forward gui 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 206 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::cancel | ( | ) |
KGuiItem KStandardGuiItem::clear | ( | ) |
KGuiItem KStandardGuiItem::close | ( | ) |
KGuiItem KStandardGuiItem::configure | ( | ) |
KGuiItem KStandardGuiItem::cont | ( | ) |
Returns the 'Continue' gui item.
The short name is due to 'continue' being a reserved word in the C++ language.
Definition at line 218 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::defaults | ( | ) |
KGuiItem KStandardGuiItem::del | ( | ) |
Returns the 'Delete' gui item.
The short name is due to 'delete' being a reserved word in the C++ language.
Definition at line 224 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::discard | ( | ) |
KGuiItem KStandardGuiItem::dontSave | ( | ) |
KGuiItem KStandardGuiItem::find | ( | ) |
KGuiItem KStandardGuiItem::forward | ( | BidiMode | useBidi = IgnoreRTL |
) |
Returns the 'Forward' gui item, 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 198 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::guiItem | ( | StandardItem | id | ) |
Returns the gui item for the given identifier.
- Parameters:
-
id. id the identifier to search for
Definition at line 29 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::help | ( | ) |
KGuiItem KStandardGuiItem::insert | ( | ) |
Returns the 'Insert' gui item.
Toggle insert/overwrite (with visual feedback, e.g.
Definition at line 248 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::no | ( | ) |
KGuiItem KStandardGuiItem::ok | ( | ) |
KGuiItem KStandardGuiItem::open | ( | ) |
KGuiItem KStandardGuiItem::overwrite | ( | ) |
KGuiItem KStandardGuiItem::print | ( | ) |
KGuiItem KStandardGuiItem::properties | ( | ) |
KGuiItem KStandardGuiItem::quit | ( | ) |
KGuiItem KStandardGuiItem::remove | ( | ) |
KGuiItem KStandardGuiItem::reset | ( | ) |
KGuiItem KStandardGuiItem::save | ( | ) |
KGuiItem KStandardGuiItem::saveAs | ( | ) |
QString KStandardGuiItem::standardItem | ( | StandardItem | id | ) |
Returns the name of the gui item for the given identifier.
- Parameters:
-
id. id the identifier to search for
Definition at line 67 of file kstandardguiitem.cpp.
KGuiItem KStandardGuiItem::stop | ( | ) |
KGuiItem KStandardGuiItem::test | ( | ) |
KGuiItem KStandardGuiItem::yes | ( | ) |