|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KShortcutList
org.kde.koala.KAccelShortcutList
public class KAccelShortcutList
KShortcutList implementation to access KAccel and KGlobalAccel lists.
Constructor Summary | |
---|---|
protected |
KAccelShortcutList(java.lang.Class dummy)
|
|
KAccelShortcutList(KAccel accel)
Creates a new KShortcutList that accesses the given KAccel. |
|
KAccelShortcutList(KAccelActions actions,
boolean bGlobal)
Creates a new KShortcutList that accesses the given KAccelActions collection. |
|
KAccelShortcutList(KGlobalAccel accel)
Creates a new KShortcutList that accesses the given KGlobalAccel. |
Method Summary | |
---|---|
int |
count()
Returns the number of entries. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
org.kde.qt.QVariant |
getOther(int arg1,
int index)
\internal @short \internal |
boolean |
isConfigurable(int index)
Checks whether the shortcut with the given index is configurable. |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
boolean |
isGlobal(int index)
Checks whether the shortcut with the given index is saved in the
global configuration. |
java.lang.String |
label(int index)
Returns the (i18n'd) label of the shortcut with the given index. |
java.lang.String |
name(int index)
Returns the name of the shortcut with the given index. |
boolean |
save()
Save the shortcut list. |
boolean |
setOther(int arg1,
int index,
org.kde.qt.QVariant arg3)
\internal @short \internal |
boolean |
setShortcut(int index,
KShortcut shortcut)
Sets the shortcut of the given entry |
KShortcut |
shortcut(int index)
Returns the shortcut with the given index. |
KShortcut |
shortcutDefault(int index)
Returns default shortcut with the given index. |
java.lang.String |
whatsThis(int index)
Returns the (i18n'd) What's This text of the shortcut with the given index. |
Methods inherited from class org.kde.koala.KShortcutList |
---|
index, index, instance, readSettings, readSettings, readSettings, writeSettings, writeSettings, writeSettings, writeSettings, writeSettings |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KAccelShortcutList(java.lang.Class dummy)
public KAccelShortcutList(KAccel accel)
accel
- the accelerators to accesspublic KAccelShortcutList(KGlobalAccel accel)
accel
- the accelerators to accesspublic KAccelShortcutList(KAccelActions actions, boolean bGlobal)
actions
- the actions to accessbGlobal
- true to save the actions in the global
configuration fileMethod Detail |
---|
public int count()
KShortcutList
count
in class KShortcutList
public java.lang.String name(int index)
KShortcutList
index.
name
in class KShortcutList
index
- the index of the shortcut (must be < count())
public java.lang.String label(int index)
KShortcutList
index.
label
in class KShortcutList
index
- the index of the shortcut (must be < count())
public java.lang.String whatsThis(int index)
KShortcutList
index.
whatsThis
in class KShortcutList
index
- the index of the shortcut (must be < count())
public KShortcut shortcut(int index)
KShortcutList
index.
shortcut
in class KShortcutList
index
- the index of the shortcut (must be < count())
KShortcutList.shortcutDefault(int)
public KShortcut shortcutDefault(int index)
KShortcutList
index.
shortcutDefault
in class KShortcutList
index
- the index of the shortcut (must be < count())
KShortcutList.shortcut(int)
public boolean isConfigurable(int index)
KShortcutList
index
is configurable.
isConfigurable
in class KShortcutList
index
- the index of the shortcut (must be < count())
public boolean setShortcut(int index, KShortcut shortcut)
KShortcutList
setShortcut
in class KShortcutList
index
- the index of the shortcut (must be < count())shortcut
- the shortcutpublic boolean isGlobal(int index)
KShortcutList
index
is saved in the
global configuration.
isGlobal
in class KShortcutList
index
- the index of the shortcut (must be < count())
public org.kde.qt.QVariant getOther(int arg1, int index)
getOther
in class KShortcutList
public boolean setOther(int arg1, int index, org.kde.qt.QVariant arg3)
setOther
in class KShortcutList
public boolean save()
KShortcutList
save
in class KShortcutList
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |