summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQListBoxItem.cpp
blob: 7e61ab2060d9136873450c71545e4cd845196b66 (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqlistbox.h>
#include <tqstring.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQListBoxItem.h>

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBoxItem_current(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->current();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBoxItem_height(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBoxItem_isCurrent(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isCurrent();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBoxItem_isSelectable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelectable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBoxItem_isSelected(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelected();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBoxItem_listBox(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBoxItem_next(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TQListBoxItem");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBoxItem_pixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QListBoxItem_prev(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TQListBoxItem");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBoxItem_rtti(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->rtti();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QListBoxItem_selected(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->selected();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QListBoxItem_setSelectable(JNIEnv* env, jobject obj, jboolean b)
{
	((TQListBoxItem*) QtSupport::getQt(env, obj))->setSelectable((bool) b);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QListBoxItem_text(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQListBoxItem*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QListBoxItem_width(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1));
	return xret;
}