summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQTableSelection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/TQTableSelection.cpp')
-rw-r--r--qtjava/javalib/qtjava/TQTableSelection.cpp155
1 files changed, 155 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQTableSelection.cpp b/qtjava/javalib/qtjava/TQTableSelection.cpp
new file mode 100644
index 00000000..fea05cc1
--- /dev/null
+++ b/qtjava/javalib/qtjava/TQTableSelection.cpp
@@ -0,0 +1,155 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tqtable.h>
+
+#include <qtjava/QtSupport.h>
+#include <qtjava/TQTableSelection.h>
+
+class TQTableSelectionJBridge : public TQTableSelection
+{
+public:
+ TQTableSelectionJBridge() : TQTableSelection() {};
+ TQTableSelectionJBridge(int arg1,int arg2,int arg3,int arg4) : TQTableSelection(arg1,arg2,arg3,arg4) {};
+ ~TQTableSelectionJBridge() {QtSupport::qtKeyDeleted(this);}
+};
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_anchorCol(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->anchorCol();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_anchorRow(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->anchorRow();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_bottomRow(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->bottomRow();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QTableSelection_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_kde_qt_QTableSelection_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QTableSelection_expandTo(JNIEnv* env, jobject obj, jint row, jint col)
+{
+ ((TQTableSelection*) QtSupport::getQt(env, obj))->expandTo((int) row, (int) col);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QTableSelection_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj)) {
+ delete (TQTableSelection*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QTableSelection_init(JNIEnv* env, jobject obj, jint row, jint col)
+{
+ ((TQTableSelection*) QtSupport::getQt(env, obj))->init((int) row, (int) col);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QTableSelection_isActive(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isActive();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QTableSelection_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QTableSelection_isEmpty(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isEmpty();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_leftCol(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->leftCol();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QTableSelection_newTQTableSelection__(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TQTableSelectionJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QTableSelection_newTQTableSelection__IIII(JNIEnv* env, jobject obj, jint start_row, jint start_col, jint end_row, jint end_col)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TQTableSelectionJBridge((int) start_row, (int) start_col, (int) end_row, (int) end_col));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_numCols(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numCols();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_numRows(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numRows();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QTableSelection_op_1equals(JNIEnv* env, jobject obj, jobject s)
+{
+ jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->operator==((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s));
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QTableSelection_op_1not_1equals(JNIEnv* env, jobject obj, jobject s)
+{
+ jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->operator!=((const TQTableSelection&)*(const TQTableSelection*) QtSupport::getQt(env, s));
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_rightCol(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->rightCol();
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_kde_qt_QTableSelection_topRow(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->topRow();
+ return xret;
+}
+