org.kde.koala
public class KKeyChooser extends QWidget
See Also: KKeyDialog
UNKNOWN: Widget for configuration of KAccel and KGlobalAccel.
Field Summary | |
---|---|
static int | Application |
static int | ApplicationGlobal |
static int | CustomKey |
static int | DefaultKey |
static int | Global |
static int | NoKey |
static int | Standard |
Constructor Summary | |
---|---|
protected | KKeyChooser(Class dummy) |
KKeyChooser(QWidget parent)
Constructor. | |
KKeyChooser(KActionCollection coll, QWidget parent, boolean bAllowLetterShortcuts)
\overload | |
KKeyChooser(KActionCollection coll, QWidget parent) | |
KKeyChooser(KAccel actions, QWidget parent, boolean bAllowLetterShortcuts) | |
KKeyChooser(KAccel actions, QWidget parent) | |
KKeyChooser(KGlobalAccel actions, QWidget parent) | |
KKeyChooser(KShortcutList arg1, QWidget parent) |
Method Summary | |
---|---|
void | allDefault()
Set all keys to their default values (bindings). |
protected void | buildListView(int iList, String title) |
protected void | buildListView(int iList) |
protected void | capturedShortcut(KShortcut cut) |
static boolean | checkGlobalShortcutsConflict(KShortcut cut, boolean warnUser, QWidget parent)
Checks whether the given shortcut conflicts with global keyboard shortcuts.
|
static boolean | checkStandardShortcutsConflict(KShortcut cut, boolean warnUser, QWidget parent)
Checks whether the given shortcut conflicts with standard keyboard shortcuts.
|
String | className() |
void | commitChanges()
This function writes any shortcut changes back to the original
action set(s). |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
protected void | fontChange(QFont _font) |
boolean | insert(KActionCollection arg1)
Insert an action collection, i.e. add all its actions to the ones
already associated with the KKeyChooser object. |
boolean | insert(KActionCollection arg1, String title)
Insert an action collection, i.e. add all its actions to the ones
already associated with the KKeyChooser object. |
protected boolean | insert(KAccel arg1) |
protected boolean | insert(KGlobalAccel arg1) |
protected boolean | insert(KShortcutList arg1) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
protected boolean | isKeyPresent(KShortcut cut, boolean warnuser) |
protected boolean | isKeyPresent(KShortcut cut) |
void | listSync()
Rebuild list entries based on underlying map.
|
QMetaObject | metaObject() |
protected void | readGlobalKeys() |
void | save()
This commits and then saves the actions to disk.
|
void | setPreferFourModifierKeys(boolean preferFourModifierKeys)
Specifies whether to use the 3 or 4 modifier key scheme.
|
protected void | setShortcut(KShortcut cut) |
protected void | slotCustomKey() |
protected void | slotDefaultKey() |
protected void | slotListItemDoubleClicked(QListViewItem ipoQListViewItem, QPoint ipoQPoint, int c) |
protected void | slotListItemSelected(QListViewItem item) |
protected void | slotNoKey() |
protected void | slotSettingsChanged(int arg1) |
void | syncToConfig(String sConfigGroup, KConfigBase pConfig, boolean bClearUnset) |
protected void | updateButtons() |
protected void | _warning(KKeySequence seq, String sAction, String sTitle) |
Parameters: parent the parent widget for this widget type the ActionType for this KKeyChooser bAllowLetterShortcuts Set to false if unmodified alphanumeric keys ('A', '1', etc.) are not permissible shortcuts.
UNKNOWN: Constructor.
Parameters: parent parent widget coll the KActionCollection to configure bAllowLetterShortcuts Set to false if unmodified alphanumeric keys ('A', '1', etc.) are not permissible shortcuts.
UNKNOWN: \overload
UNKNOWN: Set all keys to their default values (bindings).
Parameters: cut the shortcut that will be checked for conflicts warnUser if true, the user will be warned about a conflict and given a chance to reassign the shortcut parent parent widget for the warning dialog
Returns: true if there was conflict (and the user didn't reassign the shortcut)
UNKNOWN: Checks whether the given shortcut conflicts with global keyboard shortcuts.
Parameters: cut the shortcut that will be checked for conflicts warnUser if true, the user will be warned about a conflict and given a chance to reassign the shortcut parent parent widget for the warning dialog
Returns: true if there was conflict (and the user didn't reassign the shortcut)
UNKNOWN: Checks whether the given shortcut conflicts with standard keyboard shortcuts.
UNKNOWN: This function writes any shortcut changes back to the original action set(s).
UNKNOWN: Insert an action collection, i.
Parameters: title subtree title of this collection of shortcut.
UNKNOWN: Insert an action collection, i.
UNKNOWN: Rebuild list entries based on underlying map.
UNKNOWN: This commits and then saves the actions to disk.
UNKNOWN: Specifies whether to use the 3 or 4 modifier key scheme.