summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEShortcut.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/TDEShortcut.java')
-rw-r--r--kdejava/koala/org/kde/koala/TDEShortcut.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdejava/koala/org/kde/koala/TDEShortcut.java b/kdejava/koala/org/kde/koala/TDEShortcut.java
index c2281727..3a0ee12f 100644
--- a/kdejava/koala/org/kde/koala/TDEShortcut.java
+++ b/kdejava/koala/org/kde/koala/TDEShortcut.java
@@ -36,7 +36,7 @@ public class TDEShortcut implements QtSupport {
a TDEShortcut.
@short The maximum number of key sequences that can be contained in a TDEShortcut.
*/
- public static final int MAX_SETQUENCES = 2;
+ public static final int MAX_SEQUENCES = 2;
/**
Creates a new null shortcut.
@@ -163,7 +163,7 @@ public class TDEShortcut implements QtSupport {
Returns the number of sequences that are in this
shortcut.
@return the number of sequences
- MAX_SETQUENCES
+ MAX_SEQUENCES
@short Returns the number of sequences that are in this shortcut.
*/
@@ -173,7 +173,7 @@ public class TDEShortcut implements QtSupport {
@param i the number of the key sequence to retrieve
@return the <code>i</code>'th sequence or KKeySequence.null() if
there are less than <code>i</code> key sequences
- MAX_SETQUENCES
+ MAX_SEQUENCES
@short Returns the <code>i</code>'th key sequence of this shortcut.
*/
@@ -252,8 +252,8 @@ public class TDEShortcut implements QtSupport {
/**
Sets the <code>i</code> 'th key sequence of the shortcut. You can not introduce
gaps in the list of sequences, so you must use an <code>i</code> <= count().
- Also note that the maximum number of key sequences is MAX_SETQUENCES.
- @param i the position of the new key sequence(0 <= i <= count(), 0 <= i < MAX_SETQUENCES)
+ Also note that the maximum number of key sequences is MAX_SEQUENCES.
+ @param i the position of the new key sequence(0 <= i <= count(), 0 <= i < MAX_SEQUENCES)
@param keySeq the key sequence to set
@return true if successful, false otherwise
@@ -262,7 +262,7 @@ public class TDEShortcut implements QtSupport {
public native boolean setSeq(int i, KKeySequence keySeq);
/**
Appends the given key sequence. This sets it as either the keysequence or
- the alternate keysequence. If the shortcut already has MAX_SETQUENCES
+ the alternate keysequence. If the shortcut already has MAX_SEQUENCES
sequences then this call does nothing, and returns false.
@param keySeq the key sequence to add
@return true if successful, false otherwise
@@ -284,7 +284,7 @@ public class TDEShortcut implements QtSupport {
@short Appends the given key
@see #setSeq
- @see MAX_SETQUENCES
+ @see MAX_SEQUENCES
*/
public native boolean append(KKey spec);
/**
@@ -293,7 +293,7 @@ public class TDEShortcut implements QtSupport {
@return true if successful, false otherwise
@short Appends the sequences from the given shortcut.
- @see MAX_SETQUENCES
+ @see MAX_SEQUENCES
*/
public native boolean append(TDEShortcut cut);
/**