org.kde.koala
Class KActionShortcutList

java.lang.Object
  extended by org.kde.koala.KShortcutList
      extended by org.kde.koala.KActionShortcutList
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KActionShortcutList
extends KShortcutList


Constructor Summary
protected KActionShortcutList(java.lang.Class dummy)
           
  KActionShortcutList(KActionCollection arg1)
           
 
Method Summary
 KAction action(int arg1)
           
 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
 KInstanceInterface instance()
          The KInstance.
 boolean isConfigurable(int arg1)
          Checks whether the shortcut with the given index is configurable.
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 java.lang.String label(int arg1)
          Returns the (i18n'd) label of the shortcut with the given index.
 java.lang.String name(int i)
          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 arg1, KShortcut arg2)
          Sets the shortcut of the given entry
 KShortcut shortcut(int arg1)
          Returns the shortcut with the given index.
 KShortcut shortcutDefault(int arg1)
          Returns default shortcut with the given index.
 java.lang.String whatsThis(int arg1)
          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, isGlobal, 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

KActionShortcutList

protected KActionShortcutList(java.lang.Class dummy)

KActionShortcutList

public KActionShortcutList(KActionCollection arg1)
Method Detail

count

public int count()
Description copied from class: KShortcutList
Returns the number of entries.

Overrides:
count in class KShortcutList
Returns:
the number of entries

name

public java.lang.String name(int i)
Description copied from class: KShortcutList
Returns the name of the shortcut with the given index.

Overrides:
name in class KShortcutList
Parameters:
i - the index of the shortcut (must be < count())
Returns:
the name of the shortcut

label

public java.lang.String label(int arg1)
Description copied from class: KShortcutList
Returns the (i18n'd) label of the shortcut with the given index.

Overrides:
label in class KShortcutList
Parameters:
arg1 - the index of the shortcut (must be < count())
Returns:
the label (i18n'd) of the shortcut

whatsThis

public java.lang.String whatsThis(int arg1)
Description copied from class: KShortcutList
Returns the (i18n'd) What's This text of the shortcut with the given index.

Overrides:
whatsThis in class KShortcutList
Parameters:
arg1 - the index of the shortcut (must be < count())
Returns:
the What's This text (i18n'd) of the shortcut

shortcut

public KShortcut shortcut(int arg1)
Description copied from class: KShortcutList
Returns the shortcut with the given index.

Overrides:
shortcut in class KShortcutList
Parameters:
arg1 - the index of the shortcut (must be < count())
Returns:
the shortcut
See Also:
KShortcutList.shortcutDefault(int)

shortcutDefault

public KShortcut shortcutDefault(int arg1)
Description copied from class: KShortcutList
Returns default shortcut with the given index.

Overrides:
shortcutDefault in class KShortcutList
Parameters:
arg1 - the index of the shortcut (must be < count())
Returns:
the default shortcut
See Also:
KShortcutList.shortcut(int)

isConfigurable

public boolean isConfigurable(int arg1)
Description copied from class: KShortcutList
Checks whether the shortcut with the given index is configurable.

Overrides:
isConfigurable in class KShortcutList
Parameters:
arg1 - the index of the shortcut (must be < count())
Returns:
true if configurable, false otherwise

setShortcut

public boolean setShortcut(int arg1,
                           KShortcut arg2)
Description copied from class: KShortcutList
Sets the shortcut of the given entry

Overrides:
setShortcut in class KShortcutList
Parameters:
arg1 - the index of the shortcut (must be < count())
arg2 - the shortcut

instance

public KInstanceInterface instance()
Description copied from class: KShortcutList
The KInstance.

Overrides:
instance in class KShortcutList
Returns:
the KInstance of the list, can be 0 if not available

getOther

public org.kde.qt.QVariant getOther(int arg1,
                                    int index)
Description copied from class: KShortcutList
\internal @short \internal

Overrides:
getOther in class KShortcutList

setOther

public boolean setOther(int arg1,
                        int index,
                        org.kde.qt.QVariant arg3)
Description copied from class: KShortcutList
\internal @short \internal

Overrides:
setOther in class KShortcutList

save

public boolean save()
Description copied from class: KShortcutList
Save the shortcut list.

Overrides:
save in class KShortcutList
Returns:
true if successful, false otherwise

action

public KAction action(int arg1)

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?