From 636f509299122d02087c6fd62e1e4a46dbd22026 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 8 Jan 2014 20:06:00 +0100 Subject: Rename many classes to avoid conflicts with KDE --- qtjava/javalib/org/trinitydesktop/qt/TQAction.java | 115 +++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 qtjava/javalib/org/trinitydesktop/qt/TQAction.java (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQAction.java') diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQAction.java b/qtjava/javalib/org/trinitydesktop/qt/TQAction.java new file mode 100644 index 00000000..f987143f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQAction.java @@ -0,0 +1,115 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQActionSignals} for signals emitted by TQAction +*/ +public class TQAction extends TQObject { + protected TQAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQAction(TQObject parent, String name) { + super((Class) null); + newTQAction(parent,name); + } + private native void newTQAction(TQObject parent, String name); + public TQAction(TQObject parent) { + super((Class) null); + newTQAction(parent); + } + private native void newTQAction(TQObject parent); + public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(menuText,accel,parent,name); + } + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(menuText,accel,parent); + } + 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); + newTQAction(icon,menuText,accel,parent,name); + } + 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); + newTQAction(icon,menuText,accel,parent); + } + 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); + newTQAction(text,icon,menuText,accel,parent,name,toggle); + } + 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); + newTQAction(text,icon,menuText,accel,parent,name); + } + 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); + newTQAction(text,icon,menuText,accel,parent); + } + 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); + newTQAction(text,menuText,accel,parent,name,toggle); + } + 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); + newTQAction(text,menuText,accel,parent,name); + } + 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); + newTQAction(text,menuText,accel,parent); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(parent,name,toggle); + } + 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); + public native String menuText(); + public native void setToolTip(String arg1); + public native String toolTip(); + public native void setStatusTip(String arg1); + public native String statusTip(); + public native void setWhatsThis(String arg1); + public native String whatsThis(); + 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(TQWidget arg1); + public native boolean removeFrom(TQWidget arg1); + public native void activate(); + public native void toggle(); + public native void setOn(boolean arg1); + public native void setEnabled(boolean arg1); + public native void setDisabled(boolean arg1); + 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(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() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} -- cgit v1.2.1