classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] RFC: qt4 peers build machinery


From: Dalibor Topic
Subject: [cp-patches] RFC: qt4 peers build machinery
Date: Tue, 16 Aug 2005 23:26:44 +0200
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720)

Hi all,

the attached patch adds the necessary build machinery for Qt 4 peers.

Note that

a) you need Qt *4* for the peers. Qt 3/2/Embedded will *not* work, afaik. No distribution ships Qt 4 atm, afaik, and won't for the next 6-9 months, until KDE 4 arrives. Build your own Qt 4.

If you are using debian unstable, still build your own qt4. The one in debian unstable renames moc to moc-qt4, and as I do not run debian unstable on any of my boxes atm [1], I can't fudge the configure script to detect that and test such changes. Fix it and and send me a tried and tested patch, or build your own Qt 4.

b) You will need to set a few environment variables. Let's call $QT4 the path where you installed Qt4. Then you need to

* prepend $QT4/bin to your $PATH to make sure configure picks up the right moc (the one from Qt4) instead of the one from whicever Qt version you happen to have in your $PATH.

* add $QT4/lib to your LD_LIBRARY_PATH (or DYLD equivalent on OS X, I guess)

* add $QT4/lib/pkgconfig to your PKG_CONFIG_PATH

c) reautotool and *explicitely* enable the building of qt peers when invoking configure. configure --help will tell you how.

d) Note that the code in Classpath's CVS head needs certain patches from Sven that are not yet checked in to work as nicely as in screenshots on IRC. Note that the primary function of this build machinery for me is to make it easier on Sven to work on the Qt 4 peers within GNU Classpath's source tree out of the box. YMMV. ;)

e) The build machinery contains a few hacks: here is the explanation:

* Qt 4 peers are turned off by default because hardly anyone has Qt 4 installed, and afaict, won't in the next 6-9 months, so turning it on by default just makes a lot of people try to figure out how to turn it off. This code is really for developers of peers, and very early adopters, and is heavily being hacked on by Sven. If you want to know the latest and greatest, chances are you are fitzsim, and spend your waking hours on #classpath on irc.freenode.org anyway. I.e. you know it all already ;)

* The Makefile.am contains a hack for setting the CPP flags for Qt. The reason for that is that Qt 4 .pc files give $QT4/include as the include file path, but the actual include file path is $QT4/include/Qt$(QT4Module), so I am appending with the missing "/Qt" part.

* I've renamed the mocced file to slotcalls.moc.h from slotcalls.moc. The reason for this is that a) the file is #included into slotcalls.cpp and b) I don't want to try out what automake does when it is given a moc file in SOURCES, that is not a documented suffix. ;) Naming the file slotcalls.moc.cpp lets automake compile it with g++ as well, and that confuses the linker. So the best choice is to name it *.h.

* I've added the include files for Qt peers, generated by gcjh 4 (I guess).

ChangeLog: See e.

cheers,
dalibor topic

[1] I do run Debian testing on three arches, though. But there is no qt4 in testing. Neither is there a Qt4 package in FC4. Again, just do as I did and build your own.
Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.98
diff -u -r1.98 configure.ac
--- configure.ac        11 Aug 2005 16:40:53 -0000      1.98
+++ configure.ac        16 Aug 2005 20:55:21 -0000
@@ -138,6 +138,19 @@
 AM_CONDITIONAL(GTK_CAIRO, test "x${GTK_CAIRO_ENABLED}" = xtrue)
 
 dnl -----------------------------------------------------------
+dnl Qt native peer (disabled by default)
+dnl -----------------------------------------------------------
+AC_ARG_ENABLE([qt-peer],
+              [AS_HELP_STRING(--enable-qt-peer,compile Qt4 native peers 
(disabled by --disable-jni) [default=no])],
+              [case "${enableval}" in
+                yes) COMPILE_QT_PEER=yes ;;
+                no) COMPILE_QT_PEER=no ;;
+                *) COMPILE_QT_PEER=yes ;;
+              esac],
+              [COMPILE_QT_PEER=no])
+AM_CONDITIONAL(CREATE_QT_PEER_LIBRARIES, test "x${COMPILE_QT_PEER}" = xyes)
+
+dnl -----------------------------------------------------------
 dnl Regenerate headers at build time (disabled by default)
 dnl -----------------------------------------------------------
 AC_ARG_ENABLE([regen-headers],
@@ -282,6 +295,14 @@
      AC_SUBST(GTK_LIBS)
   fi
 
+  dnl Check for AWT related Qt4
+  if test "x${COMPILE_QT_PEER}" = xyes; then
+    PKG_CHECK_MODULES(QT, QtGui >= 4.0)
+    AC_CHECK_PROG(MOC, [moc], [moc])
+    AC_SUBST(QT_CFLAGS)
+    AC_SUBST(QT_LIBS)
+  fi
+
   if test "x${enable_gtk_cairo}" = xyes; then
     PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0)
     PKG_CHECK_MODULES(PANGOFT2, pangoft2)
@@ -455,6 +476,7 @@
 native/jni/java-nio/Makefile
 native/jni/java-util/Makefile
 native/jni/gtk-peer/Makefile
+native/jni/qt-peer/Makefile
 native/jni/xmlj/Makefile
 native/target/Makefile
 native/target/Linux/Makefile
Index: include/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/include/Makefile.am,v
retrieving revision 1.46
diff -u -r1.46 Makefile.am
--- include/Makefile.am 16 Aug 2005 18:16:27 -0000      1.46
+++ include/Makefile.am 16 Aug 2005 20:55:22 -0000
@@ -64,9 +64,47 @@
 $(top_srcdir)/include/gnu_java_awt_peer_gtk_GtkWindowPeer.h \
 $(top_srcdir)/include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h
 
+QTPEER_H_FILES = \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtCheckboxPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtToolkit.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtAudioClip.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtScreenDevice.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtTextFieldPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtMenuItemPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtButtonPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtWindowPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtDialogPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtImage.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtMenuBarPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtVolatileImage.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtFontPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtChoicePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtGraphics.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtComponentPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtMenuPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtTextAreaPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QPen.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtPanelPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QPainterPath.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtFontMetrics.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtScrollPanePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QMatrix.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtLabelPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtFramePeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtListPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtScrollbarPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtCanvasPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_MainQtThread.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtFileDialogPeer.h \
+$(top_srcdir)/include/gnu_java_awt_peer_qt_QtContainerPeer.h
+
 H_FILES = \
 $(XMLJ_H_FILES) \
 $(GTKPEER_H_FILES) \
+$(QTPEER_H_FILES) \
 $(top_srcdir)/include/gnu_java_net_PlainDatagramSocketImpl.h \
 $(top_srcdir)/include/gnu_java_net_PlainSocketImpl.h \
 $(top_srcdir)/include/gnu_java_nio_VMPipe.h \
@@ -104,6 +142,9 @@
 
 $(top_srcdir)/include/gnu_java_awt_peer_gtk_%.h: 
$(top_builddir)/lib/gnu/java/awt/peer/gtk/%.class
        $(JAVAH) -o $@ gnu.java.awt.peer.gtk.$*
+
+$(top_srcdir)/include/gnu_java_awt_peer_qt_%.h: 
$(top_builddir)/lib/gnu/java/awt/peer/qt/%.class
+       $(JAVAH) -o $@ gnu.java.awt.peer.qt.$*
 
 $(top_srcdir)/include/gnu_java_net_PlainDatagramSocketImpl.h: 
$(top_srcdir)/gnu/java/net/PlainDatagramSocketImpl.java
        $(JAVAH) -o $@ gnu.java.net.PlainDatagramSocketImpl
Index: include/gnu_java_awt_peer_qt_MainQtThread.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_MainQtThread.h
diff -N include/gnu_java_awt_peer_qt_MainQtThread.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_MainQtThread.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_MainQtThread__
+#define __gnu_java_awt_peer_qt_MainQtThread__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_qt_MainQtThread_init (JNIEnv 
*env, jobject, jstring);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_MainQtThread_exec (JNIEnv 
*env, jobject, jlong);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_MainQtThread__ */
Index: include/gnu_java_awt_peer_qt_QMatrix.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QMatrix.h
diff -N include/gnu_java_awt_peer_qt_QMatrix.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QMatrix.h      16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QMatrix__
+#define __gnu_java_awt_peer_qt_QMatrix__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QMatrix_init (JNIEnv *env, 
jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+JNIEXPORT jdoubleArray JNICALL Java_gnu_java_awt_peer_qt_QMatrix_getMatrix 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QMatrix_dispose (JNIEnv *env, 
jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QMatrix__ */
Index: include/gnu_java_awt_peer_qt_QPainterPath.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QPainterPath.h
diff -N include/gnu_java_awt_peer_qt_QPainterPath.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QPainterPath.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,26 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QPainterPath__
+#define __gnu_java_awt_peer_qt_QPainterPath__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT jobject JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_getPath 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_init (JNIEnv 
*env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_moveTo (JNIEnv 
*env, jobject, jdouble, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_close (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_lineTo (JNIEnv 
*env, jobject, jdouble, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_quadTo (JNIEnv 
*env, jobject, jdouble, jdouble, jdouble, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_cubicTo (JNIEnv 
*env, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPainterPath_dispose (JNIEnv 
*env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QPainterPath__ */
Index: include/gnu_java_awt_peer_qt_QPen.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QPen.h
diff -N include/gnu_java_awt_peer_qt_QPen.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QPen.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QPen__
+#define __gnu_java_awt_peer_qt_QPen__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPen_init (JNIEnv *env, 
jobject, jdouble, jint, jint, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QPen_dispose (JNIEnv *env, 
jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QPen__ */
Index: include/gnu_java_awt_peer_qt_QtAudioClip.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtAudioClip.h
diff -N include/gnu_java_awt_peer_qt_QtAudioClip.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtAudioClip.h  16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,23 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtAudioClip__
+#define __gnu_java_awt_peer_qt_QtAudioClip__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtAudioClip_loadClip (JNIEnv 
*env, jobject, jstring);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtAudioClip_play (JNIEnv 
*env, jobject, jboolean);
+JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_qt_QtAudioClip_isAvailable 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtAudioClip_stop (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtAudioClip_dispose (JNIEnv 
*env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtAudioClip__ */
Index: include/gnu_java_awt_peer_qt_QtButtonPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtButtonPeer.h
diff -N include/gnu_java_awt_peer_qt_QtButtonPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtButtonPeer.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtButtonPeer__
+#define __gnu_java_awt_peer_qt_QtButtonPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtButtonPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtButtonPeer_setLabel (JNIEnv 
*env, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtButtonPeer__ */
Index: include/gnu_java_awt_peer_qt_QtCanvasPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtCanvasPeer.h
diff -N include/gnu_java_awt_peer_qt_QtCanvasPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtCanvasPeer.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,19 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtCanvasPeer__
+#define __gnu_java_awt_peer_qt_QtCanvasPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtCanvasPeer_init (JNIEnv 
*env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtCanvasPeer__ */
Index: include/gnu_java_awt_peer_qt_QtCheckboxPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtCheckboxPeer.h
diff -N include/gnu_java_awt_peer_qt_QtCheckboxPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtCheckboxPeer.h       16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtCheckboxPeer__
+#define __gnu_java_awt_peer_qt_QtCheckboxPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtCheckboxPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtCheckboxPeer_setLabel 
(JNIEnv *env, jobject, jstring);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtCheckboxPeer_setState 
(JNIEnv *env, jobject, jboolean);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtCheckboxPeer__ */
Index: include/gnu_java_awt_peer_qt_QtChoicePeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtChoicePeer.h
diff -N include/gnu_java_awt_peer_qt_QtChoicePeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtChoicePeer.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,22 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtChoicePeer__
+#define __gnu_java_awt_peer_qt_QtChoicePeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtChoicePeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtChoicePeer_add (JNIEnv 
*env, jobject, jstring, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtChoicePeer_remove (JNIEnv 
*env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtChoicePeer_select (JNIEnv 
*env, jobject, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtChoicePeer__ */
Index: include/gnu_java_awt_peer_qt_QtComponentPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtComponentPeer.h
diff -N include/gnu_java_awt_peer_qt_QtComponentPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtComponentPeer.h      16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,39 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtComponentPeer__
+#define __gnu_java_awt_peer_qt_QtComponentPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_callInit 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_QtUpdate 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_QtUpdateArea 
(JNIEnv *env, jobject, jint, jint, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_disposeNative 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_setGround 
(JNIEnv *env, jobject, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_setBoundsNative (JNIEnv *env, 
jobject, jint, jint, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_setCursor 
(JNIEnv *env, jobject, jint);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_getNativeBackground (JNIEnv *env, 
jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_setFontNative 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_whichScreen 
(JNIEnv *env, jobject);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_getMinimumSizeNative (JNIEnv *env, 
jobject);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_getPreferredSizeNative (JNIEnv *env, 
jobject);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_getLocationOnScreen (JNIEnv *env, 
jobject);
+JNIEXPORT jboolean JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_handlesWheelScrolling (JNIEnv *env, 
jobject);
+JNIEXPORT jboolean JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_isFocusable (JNIEnv *env, jobject);
+JNIEXPORT jboolean JNICALL 
Java_gnu_java_awt_peer_qt_QtComponentPeer_isObscured (JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_requestFocus 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_setEnabled 
(JNIEnv *env, jobject, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtComponentPeer_setVisible 
(JNIEnv *env, jobject, jboolean);
+#undef gnu_java_awt_peer_qt_QtComponentPeer_POPUP_TRIGGER
+#define gnu_java_awt_peer_qt_QtComponentPeer_POPUP_TRIGGER 3L
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtComponentPeer__ */
Index: include/gnu_java_awt_peer_qt_QtContainerPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtContainerPeer.h
diff -N include/gnu_java_awt_peer_qt_QtContainerPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtContainerPeer.h      16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,18 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtContainerPeer__
+#define __gnu_java_awt_peer_qt_QtContainerPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtContainerPeer__ */
Index: include/gnu_java_awt_peer_qt_QtDialogPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtDialogPeer.h
diff -N include/gnu_java_awt_peer_qt_QtDialogPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtDialogPeer.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,22 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtDialogPeer__
+#define __gnu_java_awt_peer_qt_QtDialogPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtDialogPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtDialogPeer_setModal (JNIEnv 
*env, jobject, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtDialogPeer_setBoundsNative 
(JNIEnv *env, jobject, jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtDialogPeer_setResizable 
(JNIEnv *env, jobject, jboolean);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtDialogPeer__ */
Index: include/gnu_java_awt_peer_qt_QtFileDialogPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtFileDialogPeer.h
diff -N include/gnu_java_awt_peer_qt_QtFileDialogPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtFileDialogPeer.h     16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtFileDialogPeer__
+#define __gnu_java_awt_peer_qt_QtFileDialogPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFileDialogPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFileDialogPeer_setMode 
(JNIEnv *env, jobject, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtFileDialogPeer__ */
Index: include/gnu_java_awt_peer_qt_QtFontMetrics.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtFontMetrics.h
diff -N include/gnu_java_awt_peer_qt_QtFontMetrics.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtFontMetrics.h        16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,30 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtFontMetrics__
+#define __gnu_java_awt_peer_qt_QtFontMetrics__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_init (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_initGraphics 
(JNIEnv *env, jobject, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_dispose (JNIEnv 
*env, jobject);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtFontMetrics_getStringBounds (JNIEnv *env, jobject, 
jstring);
+JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_canDisplay 
(JNIEnv *env, jobject, jchar);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_getAscent 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_getDescent 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_getHeight 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_getLeading 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_getMaxAdvance 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_charWidth 
(JNIEnv *env, jobject, jchar);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFontMetrics_stringWidth 
(JNIEnv *env, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtFontMetrics__ */
Index: include/gnu_java_awt_peer_qt_QtFontPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtFontPeer.h
diff -N include/gnu_java_awt_peer_qt_QtFontPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtFontPeer.h   16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtFontPeer__
+#define __gnu_java_awt_peer_qt_QtFontPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFontPeer_create (JNIEnv 
*env, jobject, jstring, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFontPeer_dispose (JNIEnv 
*env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtFontPeer__ */
Index: include/gnu_java_awt_peer_qt_QtFramePeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtFramePeer.h
diff -N include/gnu_java_awt_peer_qt_QtFramePeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtFramePeer.h  16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,23 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtFramePeer__
+#define __gnu_java_awt_peer_qt_QtFramePeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFramePeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFramePeer_setIcon (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtFramePeer_setMaximizedBounds (JNIEnv *env, jobject, 
jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtFramePeer_setMenu (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtFramePeer_menuBarHeight 
(JNIEnv *env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtFramePeer__ */
Index: include/gnu_java_awt_peer_qt_QtGraphics.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtGraphics.h
diff -N include/gnu_java_awt_peer_qt_QtGraphics.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtGraphics.h   16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,40 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtGraphics__
+#define __gnu_java_awt_peer_qt_QtGraphics__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_delete (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_dispose (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_initImage (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_cloneNativeContext 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setColor (JNIEnv 
*env, jobject, jint, jint, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_drawNative (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_fillNative (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setClipNative 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setClipRectNative 
(JNIEnv *env, jobject, jint, jint, jint, jint);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtGraphics_intersectClipNative (JNIEnv *env, jobject, 
jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtGraphics_intersectClipRectNative (JNIEnv *env, 
jobject, jint, jint, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setQtTransform 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setNativeStroke 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setNativeComposite 
(JNIEnv *env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_drawStringNative 
(JNIEnv *env, jobject, jstring, jdouble, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setLinearGradient 
(JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, jdouble, jdouble, 
jdouble, jdouble, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setAlphaNative 
(JNIEnv *env, jobject, jdouble);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_setFontNative 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT jobject JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_getClipNative 
(JNIEnv *env, jobject);
+JNIEXPORT jobject JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_getClipBounds 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_fill3DRect (JNIEnv 
*env, jobject, jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtGraphics_draw3DRect (JNIEnv 
*env, jobject, jint, jint, jint, jint, jboolean);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtGraphics__ */
Index: include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h
diff -N include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h        16 Aug 2005 
20:55:22 -0000
@@ -0,0 +1,18 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtGraphicsEnvironment__
+#define __gnu_java_awt_peer_qt_QtGraphicsEnvironment__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtGraphicsEnvironment__ */
Index: include/gnu_java_awt_peer_qt_QtImage.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtImage.h
diff -N include/gnu_java_awt_peer_qt_QtImage.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtImage.h      16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,31 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtImage__
+#define __gnu_java_awt_peer_qt_QtImage__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_clear (JNIEnv *env, 
jobject);
+JNIEXPORT jintArray JNICALL Java_gnu_java_awt_peer_qt_QtImage_getPixels 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_setPixels (JNIEnv 
*env, jobject, jintArray);
+JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_qt_QtImage_loadImage (JNIEnv 
*env, jobject, jstring);
+JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_qt_QtImage_loadImageFromData 
(JNIEnv *env, jobject, jbyteArray);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_createImage (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_freeImage (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_createScaledImage 
(JNIEnv *env, jobject, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_drawPixels (JNIEnv 
*env, jobject, jobject, jint, jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_drawPixelsScaled 
(JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jint, jint, 
jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_drawPixelsTransformed 
(JNIEnv *env, jobject, jobject, jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtImage_drawPixelsScaledFlipped (JNIEnv *env, 
jobject, jobject, jint, jint, jint, jboolean, jboolean, jint, jint, jint, jint, 
jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtImage_copyArea (JNIEnv 
*env, jobject, jint, jint, jint, jint, jint, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtImage__ */
Index: include/gnu_java_awt_peer_qt_QtLabelPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtLabelPeer.h
diff -N include/gnu_java_awt_peer_qt_QtLabelPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtLabelPeer.h  16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtLabelPeer__
+#define __gnu_java_awt_peer_qt_QtLabelPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtLabelPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtLabelPeer_setAlignment 
(JNIEnv *env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtLabelPeer_setText (JNIEnv 
*env, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtLabelPeer__ */
Index: include/gnu_java_awt_peer_qt_QtListPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtListPeer.h
diff -N include/gnu_java_awt_peer_qt_QtListPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtListPeer.h   16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,25 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtListPeer__
+#define __gnu_java_awt_peer_qt_QtListPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtListPeer_init (JNIEnv *env, 
jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtListPeer_select (JNIEnv 
*env, jobject, jint, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtListPeer_add (JNIEnv *env, 
jobject, jstring, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtListPeer_delItems (JNIEnv 
*env, jobject, jint, jint);
+JNIEXPORT jintArray JNICALL 
Java_gnu_java_awt_peer_qt_QtListPeer_getSelectedIndexes (JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtListPeer_makeVisible 
(JNIEnv *env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtListPeer_setMultipleMode 
(JNIEnv *env, jobject, jboolean);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtListPeer__ */
Index: include/gnu_java_awt_peer_qt_QtMenuBarPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtMenuBarPeer.h
diff -N include/gnu_java_awt_peer_qt_QtMenuBarPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtMenuBarPeer.h        16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,22 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuBarPeer__
+#define __gnu_java_awt_peer_qt_QtMenuBarPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuBarPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuBarPeer_addMenu (JNIEnv 
*env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuBarPeer_addHelpMenu 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuBarPeer_delMenu (JNIEnv 
*env, jobject, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtMenuBarPeer__ */
Index: include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h
diff -N include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h  16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,20 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuComponentPeer__
+#define __gnu_java_awt_peer_qt_QtMenuComponentPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuComponentPeer_callInit 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuComponentPeer_dispose 
(JNIEnv *env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtMenuComponentPeer__ */
Index: include/gnu_java_awt_peer_qt_QtMenuItemPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtMenuItemPeer.h
diff -N include/gnu_java_awt_peer_qt_QtMenuItemPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtMenuItemPeer.h       16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,23 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuItemPeer__
+#define __gnu_java_awt_peer_qt_QtMenuItemPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuItemPeer_create (JNIEnv 
*env, jobject, jstring, jboolean, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuItemPeer_dispose 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuItemPeer_setEnabled 
(JNIEnv *env, jobject, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuItemPeer_setLabel 
(JNIEnv *env, jobject, jstring);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuItemPeer_setState 
(JNIEnv *env, jobject, jboolean);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtMenuItemPeer__ */
Index: include/gnu_java_awt_peer_qt_QtMenuPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtMenuPeer.h
diff -N include/gnu_java_awt_peer_qt_QtMenuPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtMenuPeer.h   16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,26 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtMenuPeer__
+#define __gnu_java_awt_peer_qt_QtMenuPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_init (JNIEnv *env, 
jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_allowTearOff 
(JNIEnv *env, jobject);
+JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_insertSeperator 
(JNIEnv *env, jobject);
+JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_insertItem 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_insertMenu 
(JNIEnv *env, jobject, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_delItem (JNIEnv 
*env, jobject, jlong);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_setEnabled (JNIEnv 
*env, jobject, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtMenuPeer_setLabel (JNIEnv 
*env, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtMenuPeer__ */
Index: include/gnu_java_awt_peer_qt_QtPanelPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtPanelPeer.h
diff -N include/gnu_java_awt_peer_qt_QtPanelPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtPanelPeer.h  16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,19 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtPanelPeer__
+#define __gnu_java_awt_peer_qt_QtPanelPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtPanelPeer_init (JNIEnv 
*env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtPanelPeer__ */
Index: include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h
diff -N include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h      16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,19 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtPopupMenuPeer__
+#define __gnu_java_awt_peer_qt_QtPopupMenuPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtPopupMenuPeer_showNative 
(JNIEnv *env, jobject, jint, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtPopupMenuPeer__ */
Index: include/gnu_java_awt_peer_qt_QtScreenDevice.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtScreenDevice.h
diff -N include/gnu_java_awt_peer_qt_QtScreenDevice.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtScreenDevice.h       16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,24 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtScreenDevice__
+#define __gnu_java_awt_peer_qt_QtScreenDevice__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScreenDevice_init (JNIEnv 
*env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScreenDevice_dispose 
(JNIEnv *env, jobject);
+JNIEXPORT jobject JNICALL Java_gnu_java_awt_peer_qt_QtScreenDevice_getBounds 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtScreenDevice_getDpiX 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtScreenDevice_getDpiY 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtScreenDevice_depth (JNIEnv 
*env, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtScreenDevice__ */
Index: include/gnu_java_awt_peer_qt_QtScrollPanePeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtScrollPanePeer.h
diff -N include/gnu_java_awt_peer_qt_QtScrollPanePeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtScrollPanePeer.h     16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,24 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtScrollPanePeer__
+#define __gnu_java_awt_peer_qt_QtScrollPanePeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScrollPanePeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScrollPanePeer_setPolicy 
(JNIEnv *env, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScrollPanePeer_childResized 
(JNIEnv *env, jobject, jint, jint);
+JNIEXPORT jint JNICALL 
Java_gnu_java_awt_peer_qt_QtScrollPanePeer_getHScrollbarHeight (JNIEnv *env, 
jobject);
+JNIEXPORT jint JNICALL 
Java_gnu_java_awt_peer_qt_QtScrollPanePeer_getVScrollbarWidth (JNIEnv *env, 
jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtScrollPanePeer_setScrollPosition (JNIEnv *env, 
jobject, jint, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtScrollPanePeer__ */
Index: include/gnu_java_awt_peer_qt_QtScrollbarPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtScrollbarPeer.h
diff -N include/gnu_java_awt_peer_qt_QtScrollbarPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtScrollbarPeer.h      16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,23 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtScrollbarPeer__
+#define __gnu_java_awt_peer_qt_QtScrollbarPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScrollbarPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtScrollbarPeer_setOrientation (JNIEnv *env, jobject, 
jint);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtScrollbarPeer_setLineIncrement (JNIEnv *env, 
jobject, jint);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtScrollbarPeer_setPageIncrement (JNIEnv *env, 
jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtScrollbarPeer_setValues 
(JNIEnv *env, jobject, jint, jint, jint, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtScrollbarPeer__ */
Index: include/gnu_java_awt_peer_qt_QtTextAreaPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtTextAreaPeer.h
diff -N include/gnu_java_awt_peer_qt_QtTextAreaPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtTextAreaPeer.h       16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,28 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtTextAreaPeer__
+#define __gnu_java_awt_peer_qt_QtTextAreaPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_getSelection 
(JNIEnv *env, jobject, jboolean);
+JNIEXPORT jint JNICALL 
Java_gnu_java_awt_peer_qt_QtTextAreaPeer_getCaretPosition (JNIEnv *env, 
jobject);
+JNIEXPORT jint JNICALL 
Java_gnu_java_awt_peer_qt_QtTextAreaPeer_getIndexAtPoint (JNIEnv *env, jobject, 
jint, jint);
+JNIEXPORT jstring JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_getText 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_insert (JNIEnv 
*env, jobject, jstring, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_setText 
(JNIEnv *env, jobject, jstring);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_select (JNIEnv 
*env, jobject, jint, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextAreaPeer_setEditable 
(JNIEnv *env, jobject, jboolean);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtTextAreaPeer_setCaretPosition (JNIEnv *env, 
jobject, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtTextAreaPeer__ */
Index: include/gnu_java_awt_peer_qt_QtTextFieldPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtTextFieldPeer.h
diff -N include/gnu_java_awt_peer_qt_QtTextFieldPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtTextFieldPeer.h      16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,29 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtTextFieldPeer__
+#define __gnu_java_awt_peer_qt_QtTextFieldPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getSelection 
(JNIEnv *env, jobject, jboolean);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getMinimumSizeNative (JNIEnv *env, 
jobject, jint);
+JNIEXPORT jobject JNICALL 
Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getPreferredSizeNative (JNIEnv *env, 
jobject, jint);
+JNIEXPORT jint JNICALL 
Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getCaretPosition (JNIEnv *env, 
jobject);
+JNIEXPORT jstring JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getText 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_select 
(JNIEnv *env, jobject, jint, jint);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtTextFieldPeer_setCaretPosition (JNIEnv *env, 
jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_setEchoChar 
(JNIEnv *env, jobject, jchar);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_setEditable 
(JNIEnv *env, jobject, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtTextFieldPeer_setText 
(JNIEnv *env, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtTextFieldPeer__ */
Index: include/gnu_java_awt_peer_qt_QtToolkit.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtToolkit.h
diff -N include/gnu_java_awt_peer_qt_QtToolkit.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtToolkit.h    16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,25 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtToolkit__
+#define __gnu_java_awt_peer_qt_QtToolkit__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT jobjectArray JNICALL 
Java_gnu_java_awt_peer_qt_QtToolkit_nativeFontFamilies (JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtToolkit_numScreens (JNIEnv 
*env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtToolkit_defaultScreen 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtToolkit_beep (JNIEnv *env, 
jobject);
+JNIEXPORT jobject JNICALL Java_gnu_java_awt_peer_qt_QtToolkit_getScreenSize 
(JNIEnv *env, jobject);
+JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_qt_QtToolkit_getScreenResolution 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtToolkit_sync (JNIEnv *env, 
jobject);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtToolkit__ */
Index: include/gnu_java_awt_peer_qt_QtVolatileImage.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtVolatileImage.h
diff -N include/gnu_java_awt_peer_qt_QtVolatileImage.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtVolatileImage.h      16 Aug 2005 20:55:22 
-0000
@@ -0,0 +1,28 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtVolatileImage__
+#define __gnu_java_awt_peer_qt_QtVolatileImage__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtVolatileImage_clear (JNIEnv 
*env, jobject);
+JNIEXPORT jintArray JNICALL 
Java_gnu_java_awt_peer_qt_QtVolatileImage_getPixels (JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtVolatileImage_createImage 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtVolatileImage_freeImage 
(JNIEnv *env, jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtVolatileImage_createScaledImage (JNIEnv *env, 
jobject, jobject, jint);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtVolatileImage_drawPixels 
(JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtVolatileImage_drawPixelsScaled (JNIEnv *env, 
jobject, jobject, jint, jint, jint, jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtVolatileImage_drawPixelsTransformed (JNIEnv *env, 
jobject, jobject, jobject);
+JNIEXPORT void JNICALL 
Java_gnu_java_awt_peer_qt_QtVolatileImage_drawPixelsScaledFlipped (JNIEnv *env, 
jobject, jobject, jint, jint, jint, jboolean, jboolean, jint, jint, jint, jint, 
jint, jint, jint, jint, jboolean);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtVolatileImage_copyArea 
(JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtVolatileImage__ */
Index: include/gnu_java_awt_peer_qt_QtWindowPeer.h
===================================================================
RCS file: include/gnu_java_awt_peer_qt_QtWindowPeer.h
diff -N include/gnu_java_awt_peer_qt_QtWindowPeer.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ include/gnu_java_awt_peer_qt_QtWindowPeer.h 16 Aug 2005 20:55:22 -0000
@@ -0,0 +1,22 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+
+#ifndef __gnu_java_awt_peer_qt_QtWindowPeer__
+#define __gnu_java_awt_peer_qt_QtWindowPeer__
+
+#include <jni.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtWindowPeer_init (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtWindowPeer_toBack (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtWindowPeer_toFront (JNIEnv 
*env, jobject);
+JNIEXPORT void JNICALL Java_gnu_java_awt_peer_qt_QtWindowPeer_setTitle (JNIEnv 
*env, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __gnu_java_awt_peer_qt_QtWindowPeer__ */
Index: native/jni/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- native/jni/Makefile.am      24 Apr 2005 19:41:50 -0000      1.13
+++ native/jni/Makefile.am      16 Aug 2005 20:55:24 -0000
@@ -8,13 +8,17 @@
   GTKDIR = gtk-peer
 endif
 
+if CREATE_QT_PEER_LIBRARIES
+  QTDIR = qt-peer
+endif
+
 if CREATE_XMLJ_LIBRARY
   XMLJDIR = xmlj
 endif
 
-SUBDIRS = classpath $(JNIDIRS) $(GTKDIR) $(XMLJDIR)
+SUBDIRS = classpath $(JNIDIRS) $(GTKDIR) $(QTDIR) $(XMLJDIR)
 DIST_SUBDIRS = classpath java-io java-lang java-net java-nio java-util \
-               gtk-peer xmlj
+               gtk-peer qt-peer xmlj
 
 all-local:
        cd $(top_srcdir) && scripts/check_jni_methods.sh
Index: native/jni/qt-peer/Makefile.am
===================================================================
RCS file: native/jni/qt-peer/Makefile.am
diff -N native/jni/qt-peer/Makefile.am
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ native/jni/qt-peer/Makefile.am      16 Aug 2005 20:55:24 -0000
@@ -0,0 +1,86 @@
+# Qt AWT backend for Classpath
+#
+
+pkglib_LTLIBRARIES = libqtpeer.la
+
+QT_CXXFLAGS=`echo $(QT_CFLAGS) | sed 's/include/include\/Qt/'`
+
+AM_CPPFLAGS = @CLASSPATH_INCLUDES@
+
+libqtpeer_la_CXXFLAGS = \
+       $(QT_CFLAGS) \
+       $(QT_CXXFLAGS)
+
+libqtpeer_la_LDFLAGS = \
+       $(QT_LIBS) \
+       -no-undefined \
+       -module \
+       -release $(PACKAGE_VERSION)
+
+libqtpeer_la_MOC = \
+       slotcallbacks.moc.h
+
+slotcallbacks.moc.h: slotcallbacks.cpp
+       $(MOC) -o slotcallbacks.moc.h $(srcdir)/slotcallbacks.cpp
+
+nodist_libqtpeer_la_SOURCES = \
+       $(libqtpeer_la_MOC) 
+
+libqtpeer_la_SOURCES = \
+        buttonevent.h \
+        componentevent.cpp \
+        componentevent.h \
+        containers.h \
+        eventmethods.cpp \
+        keybindings.cpp \
+        keybindings.h \
+        mainqtthread.cpp \
+        mainthreadinterface.cpp \
+        mainthreadinterface.h \
+        nativewrapper.cpp \
+        nativewrapper.h \
+        qmatrix.cpp \
+        qpainterpath.cpp \
+        qpen.cpp \
+        qtaudioclip.cpp \
+        qtbuttonpeer.cpp \
+        qtcanvaspeer.cpp \
+        qtcheckboxpeer.cpp \
+        qtchoicepeer.cpp \
+        qtcomponent.cpp \
+        qtcomponent.h \
+        qtcomponentpeer.cpp \
+        qtdialogpeer.cpp \
+        qtfiledialogpeer.cpp \
+        qtfont.h \
+        qtfontmetrics.cpp \
+        qtfontpeer.cpp \
+        qtframepeer.cpp \
+        qtgraphics.cpp \
+        qtgraphics.h \
+        qtimage.cpp \
+        qtimage.h \
+        qtlabelpeer.cpp \
+        qtlistpeer.cpp \
+        qtmenubarpeer.cpp \
+        qtmenucomponentpeer.cpp \
+        qtmenuitempeer.cpp \
+        qtmenupeer.cpp \
+        qtpanelpeer.cpp \
+        qtpopupmenupeer.cpp \
+        qtscreendevice.cpp \
+        qtscrollbarpeer.cpp \
+        qtscrollpanepeer.cpp \
+        qtstrings.cpp \
+        qtstrings.h \
+        qttextareapeer.cpp \
+        qttextfieldpeer.cpp \
+        qttoolkit.cpp \
+        qtvolatileimage.cpp \
+        qtwindowpeer.cpp \
+        slotcallbacks.cpp \
+        slotcallbacks.h 
+
+BUILT_SOURCES = $(libqtpeer_la_MOC)
+
+CLEANFILES = so_locations $(BUILT_SOURCES)
Index: native/jni/qt-peer/slotcallbacks.cpp
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/qt-peer/slotcallbacks.cpp,v
retrieving revision 1.1
diff -u -r1.1 slotcallbacks.cpp
--- native/jni/qt-peer/slotcallbacks.cpp        11 Aug 2005 17:06:48 -0000      
1.1
+++ native/jni/qt-peer/slotcallbacks.cpp        16 Aug 2005 20:55:24 -0000
@@ -165,7 +165,7 @@
   }
 };
 
-#include "slotcallbacks.moc"
+#include "slotcallbacks.moc.h"
 
 void connectButton(QPushButton *button, JNIEnv *env, jobject buttonobj)
 {
Index: native/jni/qt-peer/slotcallbacks.moc
===================================================================
RCS file: native/jni/qt-peer/slotcallbacks.moc
diff -N native/jni/qt-peer/slotcallbacks.moc
--- native/jni/qt-peer/slotcallbacks.moc        11 Aug 2005 17:06:48 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,75 +0,0 @@
-/****************************************************************************
-** Meta object code from reading C++ file 'slotcallbacks.cpp'
-**
-** Created: Sun Jul 24 22:00:17 2005
-**      by: The Qt Meta Object Compiler version 58 (Qt 4.0.0)
-**
-** WARNING! All changes made in this file will be lost!
-*****************************************************************************/
-
-#if !defined(Q_MOC_OUTPUT_REVISION)
-#error "The header file 'slotcallbacks.cpp' doesn't include <QObject>."
-#elif Q_MOC_OUTPUT_REVISION != 58
-#error "This file was generated using the moc from 4.0.0. It"
-#error "cannot be used with the include files from this version of Qt."
-#error "(The moc has changed too much.)"
-#endif
-
-static const uint qt_meta_data_SlotCallback[] = {
-
- // content:
-       1,       // revision
-       0,       // classname
-       0,    0, // classinfo
-       4,   10, // methods
-       0,    0, // properties
-       0,    0, // enums/sets
-
- // slots: signature, parameters, type, tag, flags
-      14,   13,   13,   13, 0x0a,
-      38,   30,   13,   13, 0x0a,
-      64,   58,   13,   13, 0x0a,
-      92,   85,   13,   13, 0x0a,
-
-       0        // eod
-};
-
-static const char qt_meta_stringdata_SlotCallback[] = {
-    "SlotCallback\0\0buttonClicked()\0checked\0buttonToggled(bool)\0index\0"
-    "choiceActivated(int)\0action\0scrollBarAction(int)\0"
-};
-
-const QMetaObject SlotCallback::staticMetaObject = {
-    { &QObject::staticMetaObject, qt_meta_stringdata_SlotCallback,
-      qt_meta_data_SlotCallback, 0 }
-};
-
-const QMetaObject *SlotCallback::metaObject() const
-{
-    return &staticMetaObject;
-}
-
-void *SlotCallback::qt_metacast(const char *_clname)
-{
-    if (!_clname) return 0;
-    if (!strcmp(_clname, qt_meta_stringdata_SlotCallback))
-       return static_cast<void*>(const_cast<SlotCallback*>(this));
-    return QObject::qt_metacast(_clname);
-}
-
-int SlotCallback::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
-{
-    _id = QObject::qt_metacall(_c, _id, _a);
-    if (_id < 0)
-        return _id;
-    if (_c == QMetaObject::InvokeMetaMethod) {
-        switch (_id) {
-        case 0: buttonClicked(); break;
-        case 1: buttonToggled(*(bool*)_a[1]); break;
-        case 2: choiceActivated(*(int*)_a[1]); break;
-        case 3: scrollBarAction(*(int*)_a[1]); break;
-        }
-        _id -= 4;
-    }
-    return _id;
-}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]