summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/TDECompletionBase.cpp
blob: fab40c49a149227a8b8abc4773f6763bbd5f4825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeglobalsettings.h>
#include <kcompletion.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tdeshortcut.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/TDECompletionBase.h>

JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDECompletionBase_compObj(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_TDECompletionBase_completionMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDECompletionBase*) QtSupport::getQt(env, obj))->completionMode();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDECompletionBase_completionObject__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDECompletionBase_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_TDECompletionBase_emitSignals(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->emitSignals();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDECompletionBase_getKeyBinding(JNIEnv* env, jobject obj, jint item)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_TDECompletionBase_handleSignals(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->handleSignals();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_TDECompletionBase_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items)
{
static TQStringList* _qlist_items = 0;
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setCompletedText(JNIEnv* env, jobject obj, jstring text)
{
static TQString* _qstring_text = 0;
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_TDECompletionBase_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key)
{
	jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_TDECompletionBase_useGlobalKeyBindings(JNIEnv* env, jobject obj)
{
	((TDECompletionBase*) QtSupport::getQt(env, obj))->useGlobalKeyBindings();
	return;
}