summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QMetaProperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QMetaProperty.cpp')
-rw-r--r--qtjava/javalib/qtjava/QMetaProperty.cpp64
1 files changed, 32 insertions, 32 deletions
diff --git a/qtjava/javalib/qtjava/QMetaProperty.cpp b/qtjava/javalib/qtjava/QMetaProperty.cpp
index 190e0569..9faf655f 100644
--- a/qtjava/javalib/qtjava/QMetaProperty.cpp
+++ b/qtjava/javalib/qtjava/QMetaProperty.cpp
@@ -1,6 +1,6 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qstrlist.h>
-#include <qmetaobject.h>
+#include <tqstrlist.h>
+#include <tqmetaobject.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QMetaProperty.h>
@@ -8,28 +8,28 @@
class QMetaPropertyJBridge : public QMetaProperty
{
public:
- QMetaPropertyJBridge() : QMetaProperty() {};
+ QMetaPropertyJBridge() : TQMetaProperty() {};
~QMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QMetaProperty_clear(JNIEnv* env, jobject obj)
{
- ((QMetaProperty*) QtSupport::getQt(env, obj))->clear();
+ ((TQMetaProperty*) QtSupport::getQt(env, obj))->clear();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_designable__(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->designable();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_designable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->designable((QObject*) QtSupport::getQt(env, arg1));
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable((TQObject*) QtSupport::getQt(env, arg1));
return xret;
}
@@ -43,16 +43,16 @@ Java_org_kde_qt_QMetaProperty_dispose(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMetaProperty_enumKeys(JNIEnv* env, jobject obj)
{
- QStrList _qlist;
- _qlist = ((QMetaProperty*) QtSupport::getQt(env, obj))->enumKeys();
- return (jobject) QtSupport::arrayWithQStrList(env, (QStrList*) &_qlist);
+ TQStrList _qlist;
+ _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->enumKeys();
+ return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (QMetaProperty*)QtSupport::getQt(env, obj);
+ delete (TQMetaProperty*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -61,7 +61,7 @@ Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMetaProperty_id(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QMetaProperty*) QtSupport::getQt(env, obj))->id();
+ jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->id();
return xret;
}
@@ -74,37 +74,37 @@ Java_org_kde_qt_QMetaProperty_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_isEnumType(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->isEnumType();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isEnumType();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_isSetType(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->isSetType();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isSetType();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_isValid(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->isValid();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isValid();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMetaProperty_keyToValue(JNIEnv* env, jobject obj, jstring key)
{
-static QCString* _qstring_key = 0;
- jint xret = (jint) ((QMetaProperty*) QtSupport::getQt(env, obj))->keyToValue((const char*) QtSupport::toCharString(env, key, &_qstring_key));
+static TQCString* _qstring_key = 0;
+ jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keyToValue((const char*) QtSupport::toCharString(env, key, &_qstring_key));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMetaProperty_keysToValue(JNIEnv* env, jobject obj, jobjectArray keys)
{
-static QStrList* _qlist_keys = 0;
- jint xret = (jint) ((QMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const QStrList&)*(QStrList*) QtSupport::toQStrList(env, keys, &_qlist_keys));
+static TQStrList* _qlist_keys = 0;
+ jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TQStrList&)*(TQStrList*) QtSupport::toQStrList(env, keys, &_qlist_keys));
return xret;
}
@@ -112,7 +112,7 @@ JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMetaProperty_name(JNIEnv* env, jobject obj)
{
const char* _qstring;
- _qstring = ((QMetaProperty*) QtSupport::getQt(env, obj))->name();
+ _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->name();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -129,49 +129,49 @@ Java_org_kde_qt_QMetaProperty_newQMetaProperty(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_reset(JNIEnv* env, jobject obj, jobject arg1)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->reset((QObject*) QtSupport::getQt(env, arg1));
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->reset((TQObject*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_scriptable__(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->scriptable();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_scriptable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->scriptable((QObject*) QtSupport::getQt(env, arg1));
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable((TQObject*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_stdSet(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->stdSet();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stdSet();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_stored__(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->stored();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_stored__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->stored((QObject*) QtSupport::getQt(env, arg1));
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored((TQObject*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_testFlags(JNIEnv* env, jobject obj, jint f)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f);
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f);
return xret;
}
@@ -179,7 +179,7 @@ JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMetaProperty_type(JNIEnv* env, jobject obj)
{
const char* _qstring;
- _qstring = ((QMetaProperty*) QtSupport::getQt(env, obj))->type();
+ _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->type();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -187,22 +187,22 @@ JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMetaProperty_valueToKey(JNIEnv* env, jobject obj, jint value)
{
const char* _qstring;
- _qstring = ((QMetaProperty*) QtSupport::getQt(env, obj))->valueToKey((int) value);
+ _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKey((int) value);
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMetaProperty_valueToKeys(JNIEnv* env, jobject obj, jint value)
{
- QStrList _qlist;
- _qlist = ((QMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value);
- return (jobject) QtSupport::arrayWithQStrList(env, (QStrList*) &_qlist);
+ TQStrList _qlist;
+ _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value);
+ return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMetaProperty_writable(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QMetaProperty*) QtSupport::getQt(env, obj))->writable();
+ jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->writable();
return xret;
}