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/QAction.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QAction.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QAction.java | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/qtjava/javalib/org/kde/qt/QAction.java b/qtjava/javalib/org/kde/qt/QAction.java index 365bfc40..19632563 100644 --- a/qtjava/javalib/org/kde/qt/QAction.java +++ b/qtjava/javalib/org/kde/qt/QAction.java @@ -4,79 +4,79 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QActionSignals} for signals emitted by QAction + See {@link TQActionSignals} for signals emitted by TQAction */ -public class QAction extends QObject { - protected QAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQAction extends TQObject { + protected TQAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QAction(QObject parent, String name) { + public TQAction(TQObject parent, String name) { super((Class) null); - newQAction(parent,name); + newTQAction(parent,name); } - private native void newQAction(QObject parent, String name); - public QAction(QObject parent) { + private native void newTQAction(TQObject parent, String name); + public TQAction(TQObject parent) { super((Class) null); - newQAction(parent); + newTQAction(parent); } - private native void newQAction(QObject parent); - public QAction(String menuText, QKeySequence accel, QObject parent, String name) { + private native void newTQAction(TQObject parent); + public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) { super((Class) null); - newQAction(menuText,accel,parent,name); + newTQAction(menuText,accel,parent,name); } - private native void newQAction(String menuText, QKeySequence accel, QObject parent, String name); - public QAction(String menuText, QKeySequence accel, QObject parent) { + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String menuText, TQKeySequence accel, TQObject parent) { super((Class) null); - newQAction(menuText,accel,parent); + newTQAction(menuText,accel,parent); } - private native void newQAction(String menuText, QKeySequence accel, QObject parent); - public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) { + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { super((Class) null); - newQAction(icon,menuText,accel,parent,name); + newTQAction(icon,menuText,accel,parent,name); } - private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name); - public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent) { + private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { super((Class) null); - newQAction(icon,menuText,accel,parent); + newTQAction(icon,menuText,accel,parent); } - private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent); - public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) { + private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { super((Class) null); - newQAction(text,icon,menuText,accel,parent,name,toggle); + newTQAction(text,icon,menuText,accel,parent,name,toggle); } - private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle); - public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) { + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { super((Class) null); - newQAction(text,icon,menuText,accel,parent,name); + newTQAction(text,icon,menuText,accel,parent,name); } - private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name); - public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent) { + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { super((Class) null); - newQAction(text,icon,menuText,accel,parent); + newTQAction(text,icon,menuText,accel,parent); } - private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent); - public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) { + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { super((Class) null); - newQAction(text,menuText,accel,parent,name,toggle); + newTQAction(text,menuText,accel,parent,name,toggle); } - private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle); - public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name) { + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name) { super((Class) null); - newQAction(text,menuText,accel,parent,name); + newTQAction(text,menuText,accel,parent,name); } - private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name); - public QAction(String text, String menuText, QKeySequence accel, QObject parent) { + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent) { super((Class) null); - newQAction(text,menuText,accel,parent); + newTQAction(text,menuText,accel,parent); } - private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent); - public QAction(QObject parent, String name, boolean toggle) { + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQObject parent, String name, boolean toggle) { super((Class) null); - newQAction(parent,name,toggle); + newTQAction(parent,name,toggle); } - private native void newQAction(QObject parent, String name, boolean toggle); - public native void setIconSet(QIconSet arg1); - public native QIconSet iconSet(); + private native void newTQAction(TQObject parent, String name, boolean toggle); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); public native void setText(String arg1); public native String text(); public native void setMenuText(String arg1); @@ -87,15 +87,15 @@ public class QAction extends QObject { public native String statusTip(); public native void setWhatsThis(String arg1); public native String whatsThis(); - public native void setAccel(QKeySequence key); - public native QKeySequence accel(); + public native void setAccel(TQKeySequence key); + public native TQKeySequence accel(); public native void setToggleAction(boolean arg1); public native boolean isToggleAction(); public native boolean isOn(); public native boolean isEnabled(); public native boolean isVisible(); - public native boolean addTo(QWidget arg1); - public native boolean removeFrom(QWidget arg1); + public native boolean addTo(TQWidget arg1); + public native boolean removeFrom(TQWidget arg1); public native void activate(); public native void toggle(); public native void setOn(boolean arg1); @@ -104,8 +104,8 @@ public class QAction extends QObject { public native void setVisible(boolean arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void addedTo(QWidget actionWidget, QWidget container); - protected native void addedTo(int index, QPopupMenu menu); + protected native void addedTo(TQWidget actionWidget, TQWidget container); + protected native void addedTo(int index, TQPopupMenu menu); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |