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.
62 lines
2.1 KiB
62 lines
2.1 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <kurifilter.h>
|
|
#include <tqstring.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <kdejava/KDESupport.h>
|
|
#include <kdejava/KURIFilterPlugin.h>
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_className(JNIEnv* env, jobject obj)
|
|
{
|
|
const char* _qstring;
|
|
_qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->className();
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_configModule(JNIEnv* env, jobject obj, jobject arg1, jstring arg2)
|
|
{
|
|
static TQCString* _qstring_arg2 = 0;
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((KURIFilterPlugin*) QtSupport::getQt(env, obj))->configModule((TQWidget*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)), "org.kde.koala.TDECModule");
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_configName(JNIEnv* env, jobject obj)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->configName();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_filterURI(JNIEnv* env, jobject obj, jobject data)
|
|
{
|
|
jboolean xret = (jboolean) ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data));
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_metaObject(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((KURIFilterPlugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_name(JNIEnv* env, jobject obj)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->name();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jdouble JNICALL
|
|
Java_org_kde_koala_KURIFilterPlugin_priority(JNIEnv* env, jobject obj)
|
|
{
|
|
jdouble xret = (jdouble) ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->priority();
|
|
return xret;
|
|
}
|
|
|