diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/KAccelShortcutList.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/KAccelShortcutList.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KAccelShortcutList.java | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KAccelShortcutList.java b/kdejava/koala/org/kde/koala/KAccelShortcutList.java new file mode 100644 index 00000000..7d9f0e29 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KAccelShortcutList.java @@ -0,0 +1,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.QVariant; + +/** + + 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 QVariant getOther(int arg1, int index); + /** \internal @short \internal + */ + public native boolean setOther(int arg1, int index, QVariant 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(); +} |