blob: d0e320fceb3af33bcac5d91517c4b5f411f838e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.TQVariant;
/**
KShortcutList implementation to access KAccel and
KGlobalAccel lists.
@short KShortcutList implementation to access KAccel and KGlobalAccel lists.
*/
public class KAccelShortcutList extends KShortcutList {
protected KAccelShortcutList(Class dummy){super((Class) null);}
/**
Creates a new KShortcutList that accesses the given KAccel.
@param accel the accelerators to access
@short Creates a new KShortcutList that accesses the given KAccel.
*/
public KAccelShortcutList(KAccel accel) {
super((Class) null);
newKAccelShortcutList(accel);
}
private native void newKAccelShortcutList(KAccel accel);
/**
Creates a new KShortcutList that accesses the given
KGlobalAccel.
@param accel the accelerators to access
@short Creates a new KShortcutList that accesses the given KGlobalAccel.
*/
public KAccelShortcutList(KGlobalAccel accel) {
super((Class) null);
newKAccelShortcutList(accel);
}
private native void newKAccelShortcutList(KGlobalAccel accel);
/**
Creates a new KShortcutList that accesses the given
KAccelActions collection.
@param actions the actions to access
@param bGlobal true to save the actions in the global
configuration file
@short
*/
public KAccelShortcutList(KAccelActions actions, boolean bGlobal) {
super((Class) null);
newKAccelShortcutList(actions,bGlobal);
}
private native void newKAccelShortcutList(KAccelActions actions, boolean bGlobal);
public native int count();
public native String name(int index);
public native String label(int index);
public native String whatsThis(int index);
public native KShortcut shortcut(int index);
public native KShortcut shortcutDefault(int index);
public native boolean isConfigurable(int index);
public native boolean setShortcut(int index, KShortcut shortcut);
public native boolean isGlobal(int index);
/** \internal @short \internal
*/
public native TQVariant getOther(int arg1, int index);
/** \internal @short \internal
*/
public native boolean setOther(int arg1, int index, TQVariant arg3);
public native boolean save();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|