diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /qtjava/javalib/org/trinitydesktop/qt/TQObject.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQObject.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQObject.java | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQObject.java b/qtjava/javalib/org/trinitydesktop/qt/TQObject.java new file mode 100644 index 00000000..d676961e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQObject.java @@ -0,0 +1,272 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQObjectSignals} for signals emitted by TQObject +*/ +public class TQObject extends Qt { + protected TQObject(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQObject(TQObject parent, String name) { + super((Class) null); + newTQObject(parent,name); + } + private native void newTQObject(TQObject parent, String name); + public TQObject(TQObject parent) { + super((Class) null); + newTQObject(parent); + } + private native void newTQObject(TQObject parent); + public TQObject() { + super((Class) null); + newTQObject(); + } + private native void newTQObject(); + public native boolean event(TQEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isA(String arg1); + public native boolean inherits(String arg1); + public native String name(); + public native String name(String defaultName); + public native void setName(String name); + public native boolean isWidgetType(); + public native boolean highPriority(); + public native boolean signalsBlocked(); + public native void blockSignals(boolean b); + public native int startTimer(int interval); + public native void killTimer(int id); + public native void killTimers(); + public native TQObject child(String objName, String inheritsClass, boolean recursiveSearch); + public native TQObject child(String objName, String inheritsClass); + public native TQObject child(String objName); + public native ArrayList children(); + public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch, boolean recursiveSearch); + public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch); + public native ArrayList queryList(String inheritsClass, String objName); + public native ArrayList queryList(String inheritsClass); + public native ArrayList queryList(); + public native void insertChild(TQObject arg1); + public native void removeChild(TQObject arg1); + public native void installEventFilter(TQObject arg1); + public native void removeEventFilter(TQObject arg1); + public native boolean connect(TQObject sender, String signal, String member); + public native boolean disconnect(String signal, TQObject receiver, String member); + public native boolean disconnect(String signal, TQObject receiver); + public native boolean disconnect(String signal); + public native boolean disconnect(); + public native boolean disconnect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver); + public native void dumpObjectTree(); + public native void dumpObjectInfo(); + public native boolean setProperty(String name, TQVariant value); + public native TQVariant property(String name); + // void setUserData(uint arg1,TQObjectUserData* arg2); >>>> NOT CONVERTED + // TQObjectUserData* userData(uint arg1); >>>> NOT CONVERTED + public native TQObject parent(); + public native void deleteLater(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native ArrayList objectTrees(); + public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); + public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); + public static native void connectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); + public static native boolean disconnectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); + public static native int registerUserData(); + protected native boolean activate_filters(TQEvent arg1); + // TQConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED + // TQConnectionList* receivers(int arg1); >>>> NOT CONVERTED + protected native void activate_signal(int signal); + protected native void activate_signal(int signal, int arg2); + protected native void activate_signal(int signal, double arg2); + protected native void activate_signal(int signal, String arg2); + protected native void activate_signal_bool(int signal, boolean arg2); + // void activate_signal(TQConnectionList* arg1,TQUObject* arg2); >>>> NOT CONVERTED + protected native TQObject sender(); + protected native void timerEvent(TQTimerEvent arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void customEvent(TQCustomEvent arg1); + protected native void connectNotify(String signal); + protected native void disconnectNotify(String signal); + protected native boolean checkConnectArgs(String signal, TQObject receiver, String member); + protected static native String normalizeSignalSlot(String signalSlot); + /** 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(); + /** i18n() is just a synonym of tr() for now */ + public static String i18n(String s) { + return tr(s); + } + + public native void emit(String signal, Object[] args); + + protected void emit(String signal) { + Object[] args = new Object[0]; + emit("2" + signal.trim() + "()", args); + } + + protected void emit(String signal, Object value) { + Object[] args = new Object[1]; + args[0] = value; + emit("2" + signal.trim() + "(" + value.getClass().getName() + ")", args); + } + + protected void emit(String signal, Object value1, Object value2) { + Object[] args = new Object[2]; + args[0] = value1; + args[1] = value2; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + + ")", args); + } + + protected void emit(String signal, Object value1, Object value2, Object value3) { + Object[] args = new Object[3]; + args[0] = value1; + args[1] = value2; + args[2] = value3; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ")", args); + } + + protected void emit(String signal, Object value1, Object value2, Object value3, Object value4) { + Object[] args = new Object[4]; + args[0] = value1; + args[1] = value2; + args[2] = value3; + args[3] = value4; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + "," + + value3.getClass().getName() + "," + + value4.getClass().getName() + + ")", args); + } + + protected void emit(String signal, boolean value) { + Object[] args = new Object[1]; + args[0] = new Boolean(value); + emit("2" + signal.trim() + "(boolean)", args); + } + + protected void emit(String signal, char value) { + Object[] args = new Object[1]; + args[0] = new Character(value); + emit("2" + signal.trim() + "(char)", args); + } + + protected void emit(String signal, byte value) { + Object[] args = new Object[1]; + args[0] = new Byte(value); + emit("2" + signal.trim() + "(byte)", args); + } + + protected void emit(String signal, short value) { + Object[] args = new Object[1]; + args[0] = new Short(value); + emit("2" + signal.trim() + "(short)", args); + } + + protected void emit(String signal, int value) { + Object[] args = new Object[1]; + args[0] = new Integer(value); + emit("2" + signal.trim() + "(int)", args); + } + + protected void emit(String signal, int value1, int value2) { + Object[] args = new Object[2]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + emit("2" + signal.trim() + "(int,int)", args); + } + + protected void emit(String signal, Object value1, int value2) { + Object[] args = new Object[2]; + args[0] = value1; + args[1] = new Integer(value2); + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + "int" + + ")", args); + } + + protected void emit(String signal, int value1, int value2, int value3) { + Object[] args = new Object[3]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + args[2] = new Integer(value3); + emit("2" + signal.trim() + "(int,int,int)", args); + } + + protected void emit(String signal, int value1, int value2, int value3, Object value4) { + Object[] args = new Object[4]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + args[2] = new Integer(value3); + args[3] = value4; + emit("2" + signal.trim() + "(int,int,int," + value4.getClass().getName() + ")", args); + } + + protected void emit(String signal, int value1, Object value2, Object value3) { + Object[] args = new Object[3]; + args[0] = new Integer(value1); + args[1] = value2; + args[2] = value3; + emit("2" + signal.trim() + "(int," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ")", args); + } + + protected void emit(String signal, int value1, Object value2, Object value3, int value4) { + Object[] args = new Object[4]; + args[0] = new Integer(value1); + args[1] = value2; + args[2] = value3; + args[3] = new Integer(value4); + emit("2" + signal.trim() + "(int," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ",int)", args); + } + + protected void emit(String signal, int value1, boolean value2) { + Object[] args = new Object[2]; + args[0] = new Integer(value1); + args[1] = new Boolean(value2); + emit("2" + signal.trim() + "(int,boolean)", args); + } + + protected void emit(String signal, long value) { + Object[] args = new Object[1]; + args[0] = new Long(value); + emit("2" + signal.trim() + "(long)", args); + } + + protected void emit(String signal, float value) { + Object[] args = new Object[1]; + args[0] = new Float(value); + emit("2" + signal.trim() + "(float)", args); + } + + protected void emit(String signal, double value) { + Object[] args = new Object[1]; + args[0] = new Double(value); + emit("2" + signal.trim() + "(double)", args); + } + + protected void emit(String signal, Object value1, int value2, int value3) { + Object[] args = new Object[3]; + args[0] = value1; + args[1] = new Integer(value2); + args[2] = new Integer(value3); + emit("2" + signal.trim() + "(" + value1.getClass().getName() + ",int,int)", args); + } + +} |