You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.1 KiB
60 lines
2.1 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
|
#include <dom/css_value.h>
|
||
|
|
||
|
#include <qtjava/QtSupport.h>
|
||
11 years ago
|
#include <tdejava/TDESupport.h>
|
||
|
#include <tdejava/CSSValueList.h>
|
||
15 years ago
|
|
||
|
class CSSValueListJBridge : public DOM::CSSValueList
|
||
|
{
|
||
|
public:
|
||
|
CSSValueListJBridge() : DOM::CSSValueList() {};
|
||
|
CSSValueListJBridge(const DOM::CSSValueList& arg1) : DOM::CSSValueList(arg1) {};
|
||
|
CSSValueListJBridge(const DOM::CSSValue& arg1) : DOM::CSSValueList(arg1) {};
|
||
|
};
|
||
|
|
||
|
JNIEXPORT jobject JNICALL
|
||
11 years ago
|
Java_org_trinitydesktop_koala_CSSValueList_item(JNIEnv* env, jobject obj, jlong index)
|
||
15 years ago
|
{
|
||
11 years ago
|
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSValue(((DOM::CSSValueList*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.trinitydesktop.koala.CSSValue", TRUE);
|
||
15 years ago
|
return xret;
|
||
|
}
|
||
|
|
||
|
JNIEXPORT jlong JNICALL
|
||
11 years ago
|
Java_org_trinitydesktop_koala_CSSValueList_length(JNIEnv* env, jobject obj)
|
||
15 years ago
|
{
|
||
|
jlong xret = (jlong) ((DOM::CSSValueList*) QtSupport::getQt(env, obj))->length();
|
||
|
return xret;
|
||
|
}
|
||
|
|
||
|
JNIEXPORT void JNICALL
|
||
11 years ago
|
Java_org_trinitydesktop_koala_CSSValueList_newCSSValueList__(JNIEnv* env, jobject obj)
|
||
15 years ago
|
{
|
||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||
|
QtSupport::setQt(env, obj, new CSSValueListJBridge());
|
||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
JNIEXPORT void JNICALL
|
||
11 years ago
|
Java_org_trinitydesktop_koala_CSSValueList_newCSSValueList__Lorg_trinitydesktop_koala_CSSValueList_2(JNIEnv* env, jobject obj, jobject other)
|
||
15 years ago
|
{
|
||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||
|
QtSupport::setQt(env, obj, new CSSValueListJBridge((const DOM::CSSValueList&)*(const DOM::CSSValueList*) QtSupport::getQt(env, other)));
|
||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
JNIEXPORT void JNICALL
|
||
11 years ago
|
Java_org_trinitydesktop_koala_CSSValueList_newCSSValueList__Lorg_trinitydesktop_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other)
|
||
15 years ago
|
{
|
||
|
if (QtSupport::getQt(env, obj) == 0) {
|
||
|
QtSupport::setQt(env, obj, new CSSValueListJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other)));
|
||
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
|