KDEUI
KShortcutsEditorItem Class Reference
A QTreeWidgetItem that can handle KActions. More...
#include <kshortcutsdialog_p.h>

Public Member Functions | |
| void | commit () |
| virtual QVariant | data (int column, int role=Qt::DisplayRole) const |
| bool | isModified () const |
| bool | isModified (uint column) const |
| QKeySequence | keySequence (uint column) const |
| KShortcutsEditorItem (QTreeWidgetItem *parent, KAction *action) | |
| virtual bool | operator< (const QTreeWidgetItem &other) const |
| void | setKeySequence (uint column, const QKeySequence &seq) |
| void | setNameBold (bool flag) |
| void | setRockerGesture (const KRockerGesture &gst) |
| void | setShapeGesture (const KShapeGesture &gst) |
| void | undo () |
| virtual | ~KShortcutsEditorItem () |
Detailed Description
A QTreeWidgetItem that can handle KActions.It provides undo, commit functionality for changes made. Changes are effective immediately. You have to commit them or they will be undone when deleting the item.
For internal use only.
Definition at line 265 of file kshortcutsdialog_p.h.
Constructor & Destructor Documentation
| KShortcutsEditorItem::KShortcutsEditorItem | ( | QTreeWidgetItem * | parent, | |
| KAction * | action | |||
| ) |
Definition at line 34 of file kshortcutseditoritem.cpp.
| KShortcutsEditorItem::~KShortcutsEditorItem | ( | ) | [virtual] |
Destructor.
Will undo pending changes. If you don't want that. Call commitChanges before
Definition at line 53 of file kshortcutseditoritem.cpp.
Member Function Documentation
| void KShortcutsEditorItem::commit | ( | ) |
| QVariant KShortcutsEditorItem::data | ( | int | column, | |
| int | role = Qt::DisplayRole | |||
| ) | const [virtual] |
Definition at line 68 of file kshortcutseditoritem.cpp.
| bool KShortcutsEditorItem::isModified | ( | ) | const |
Definition at line 62 of file kshortcutseditoritem.cpp.
| bool KShortcutsEditorItem::isModified | ( | uint | column | ) | const |
Definition at line 279 of file kshortcutseditoritem.cpp.
| QKeySequence KShortcutsEditorItem::keySequence | ( | uint | column | ) | const |
Definition at line 191 of file kshortcutseditoritem.cpp.
| bool KShortcutsEditorItem::operator< | ( | const QTreeWidgetItem & | other | ) | const [virtual] |
Definition at line 184 of file kshortcutseditoritem.cpp.
| void KShortcutsEditorItem::setKeySequence | ( | uint | column, | |
| const QKeySequence & | seq | |||
| ) |
Definition at line 208 of file kshortcutseditoritem.cpp.
| void KShortcutsEditorItem::setNameBold | ( | bool | flag | ) | [inline] |
Definition at line 295 of file kshortcutsdialog_p.h.
| void KShortcutsEditorItem::setRockerGesture | ( | const KRockerGesture & | gst | ) |
Definition at line 247 of file kshortcutseditoritem.cpp.
| void KShortcutsEditorItem::setShapeGesture | ( | const KShapeGesture & | gst | ) |
Definition at line 237 of file kshortcutseditoritem.cpp.
| void KShortcutsEditorItem::undo | ( | ) |
The documentation for this class was generated from the following files:
KDE 4.5 API Reference