summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/Event.cpp')
-rw-r--r--kdejava/koala/kdejava/Event.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/kdejava/koala/kdejava/Event.cpp b/kdejava/koala/kdejava/Event.cpp
deleted file mode 100644
index 7305e287..00000000
--- a/kdejava/koala/kdejava/Event.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-//Auto-generated by kalyptus. DO NOT EDIT.
-#include <tdeparts/event.h>
-
-#include <qtjava/QtSupport.h>
-#include <kdejava/KDESupport.h>
-#include <kdejava/Event.h>
-
-class EventJBridge : public KParts::Event
-{
-public:
- EventJBridge(const char* arg1) : KParts::Event(arg1) {};
-};
-
-JNIEXPORT jstring JNICALL
-Java_org_kde_koala_Event_eventName(JNIEnv* env, jobject obj)
-{
- const char* _qstring;
- _qstring = ((KParts::Event*) QtSupport::getQt(env, obj))->eventName();
- return QtSupport::fromCharString(env, (char *) _qstring);
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_Event_newEvent(JNIEnv* env, jobject obj, jstring eventName)
-{
-static TQCString* _qstring_eventName = 0;
- if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new EventJBridge((const char*) QtSupport::toCharString(env, eventName, &_qstring_eventName)));
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2(JNIEnv* env, jclass cls, jobject event)
-{
- (void) cls;
- jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event));
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject event, jstring name)
-{
- (void) cls;
-static TQCString* _qstring_name = 0;
- jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event), (const char*) QtSupport::toCharString(env, name, &_qstring_name));
- return xret;
-}
-