diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QAccel.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QAccel.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QAccel.java | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/qtjava/javalib/org/kde/qt/QAccel.java b/qtjava/javalib/org/kde/qt/QAccel.java index 7f6efa58..bd0c455f 100644 --- a/qtjava/javalib/org/kde/qt/QAccel.java +++ b/qtjava/javalib/org/kde/qt/QAccel.java @@ -4,45 +4,45 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QAccelSignals} for signals emitted by QAccel + See {@link TQAccelSignals} for signals emitted by TQAccel */ -public class QAccel extends QObject { - protected QAccel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQAccel extends TQObject { + protected TQAccel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QAccel(QWidget parent, String name) { + public TQAccel(TQWidget parent, String name) { super((Class) null); - newQAccel(parent,name); + newTQAccel(parent,name); } - private native void newQAccel(QWidget parent, String name); - public QAccel(QWidget parent) { + private native void newTQAccel(TQWidget parent, String name); + public TQAccel(TQWidget parent) { super((Class) null); - newQAccel(parent); + newTQAccel(parent); } - private native void newQAccel(QWidget parent); - public QAccel(QWidget watch, QObject parent, String name) { + private native void newTQAccel(TQWidget parent); + public TQAccel(TQWidget watch, TQObject parent, String name) { super((Class) null); - newQAccel(watch,parent,name); + newTQAccel(watch,parent,name); } - private native void newQAccel(QWidget watch, QObject parent, String name); - public QAccel(QWidget watch, QObject parent) { + private native void newTQAccel(TQWidget watch, TQObject parent, String name); + public TQAccel(TQWidget watch, TQObject parent) { super((Class) null); - newQAccel(watch,parent); + newTQAccel(watch,parent); } - private native void newQAccel(QWidget watch, QObject parent); + private native void newTQAccel(TQWidget watch, TQObject parent); public native boolean isEnabled(); public native void setEnabled(boolean arg1); public native int count(); - public native int insertItem(QKeySequence key, int id); - public native int insertItem(QKeySequence key); + public native int insertItem(TQKeySequence key, int id); + public native int insertItem(TQKeySequence key); public native void removeItem(int id); public native void clear(); - public native QKeySequence key(int id); - public native int findKey(QKeySequence key); + public native TQKeySequence key(int id); + public native int findKey(TQKeySequence key); public native boolean isItemEnabled(int id); public native void setItemEnabled(int id, boolean enable); - public native boolean connectItem(int id, QObject receiver, String member); - public native boolean disconnectItem(int id, QObject receiver, String member); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); public native void repairEventFilter(); public native void setWhatsThis(int id, String arg2); public native String whatsThis(int id); @@ -50,10 +50,10 @@ public class QAccel extends QObject { public native boolean ignoreWhatsThis(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QKeySequence shortcutKey(String arg1); - public static native String keyToString(QKeySequence k); - public static native QKeySequence stringToKey(String arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); + public static native TQKeySequence shortcutKey(String arg1); + public static native String keyToString(TQKeySequence k); + public static native TQKeySequence stringToKey(String arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |