diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QObject.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QObject.java | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/qtjava/javalib/org/kde/qt/QObject.java b/qtjava/javalib/org/kde/qt/QObject.java index c9c98412..71d268b1 100644 --- a/qtjava/javalib/org/kde/qt/QObject.java +++ b/qtjava/javalib/org/kde/qt/QObject.java @@ -5,29 +5,29 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QObjectSignals} for signals emitted by QObject + See {@link TQObjectSignals} for signals emitted by TQObject */ -public class QObject extends Qt { - protected QObject(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQObject extends Qt { + protected TQObject(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QObject(QObject parent, String name) { + public TQObject(TQObject parent, String name) { super((Class) null); - newQObject(parent,name); + newTQObject(parent,name); } - private native void newQObject(QObject parent, String name); - public QObject(QObject parent) { + private native void newTQObject(TQObject parent, String name); + public TQObject(TQObject parent) { super((Class) null); - newQObject(parent); + newTQObject(parent); } - private native void newQObject(QObject parent); - public QObject() { + private native void newTQObject(TQObject parent); + public TQObject() { super((Class) null); - newQObject(); + newTQObject(); } - private native void newQObject(); - public native boolean event(QEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); + 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(); @@ -40,58 +40,58 @@ public class QObject extends Qt { public native int startTimer(int interval); public native void killTimer(int id); public native void killTimers(); - public native QObject child(String objName, String inheritsClass, boolean recursiveSearch); - public native QObject child(String objName, String inheritsClass); - public native QObject child(String objName); + 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(QObject arg1); - public native void removeChild(QObject arg1); - public native void installEventFilter(QObject arg1); - public native void removeEventFilter(QObject arg1); - public native boolean connect(QObject sender, String signal, String member); - public native boolean disconnect(String signal, QObject receiver, String member); - public native boolean disconnect(String signal, QObject receiver); + 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(QObject receiver, String member); - public native boolean disconnect(QObject receiver); + 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, QVariant value); - public native QVariant property(String name); - // void setUserData(uint arg1,QObjectUserData* arg2); >>>> NOT CONVERTED - // QObjectUserData* userData(uint arg1); >>>> NOT CONVERTED - public native QObject parent(); + 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(QObject sender, String signal, QObject receiver, String member); - public static native boolean disconnect(QObject sender, String signal, QObject receiver, String member); - public static native void connectInternal(QObject sender, int signal_index, QObject receiver, int membcode, int member_index); - public static native boolean disconnectInternal(QObject sender, int signal_index, QObject receiver, int membcode, int member_index); + 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(QEvent arg1); - // QConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED - // QConnectionList* receivers(int arg1); >>>> NOT CONVERTED + 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(QConnectionList* arg1,QUObject* arg2); >>>> NOT CONVERTED - protected native QObject sender(); - protected native void timerEvent(QTimerEvent arg1); - protected native void childEvent(QChildEvent arg1); - protected native void customEvent(QCustomEvent arg1); + // 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, QObject receiver, String member); + 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; |