From kde-java@kde.org Thu Jan 2 00:41:14 2003 From: kde-java@kde.org (Mark Gilmore) Date: Wed, 1 Jan 2003 17:41:14 -0700 Subject: [Kde-java] Mark Gilmore is out of the office. Message-ID: I will be out of the office starting 01/01/2003 and will not return until 01/06/2003. I will not be checking email and will respond to your note when I return. Happy New Year! From kde-java@kde.org Tue Jan 7 22:24:28 2003 From: kde-java@kde.org (Suemiao Rossignol) Date: Tue, 7 Jan 2003 14:24:28 -0800 Subject: [Kde-java] MIME Message-ID: <49C257E2C13F584790B2E302E021B6F9019BFC22@winse-msg-01.segroup.winse.corp.microsoft.com> This is a multi-part message in MIME format. --------------InterScan_NT_MIME_Boundary Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2B69B.8A89422C" ------_=_NextPart_001_01C2B69B.8A89422C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I found your email from the web with the issue stated as=20 "This is a MIME-formatted message." =20 "Portions of this message may be unreadable without a MIME-capable mail program.". =20 I have the same issue with my codes when tried to send out the email. =20 Can you advise how do you solve it in the end? Thanks you in advance! =20 -Suemiao =20 =20 ------_=_NextPart_001_01C2B69B.8A89422C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I found your email from the =
web with the issue stated as 
This =
is a MIME-formatted message.”  
“Portions of this message may be =
unreadable without a MIME-capable mail =
program.”.
 
I have =
the same issue with my codes when tried to send out the =
email.
 
Can you =
advise how do you solve it in the end?
Thanks =
you in advance!
 
-Suemiao
 

 

=00 ------_=_NextPart_001_01C2B69B.8A89422C-- --------------InterScan_NT_MIME_Boundary-- From kde-java@kde.org Wed Jan 8 17:17:31 2003 From: kde-java@kde.org (Germain Garand) Date: Wed, 8 Jan 2003 17:17:31 +0000 Subject: [Kde-java] [announce] creation of kde-bindings list Message-ID: <200301081717.31457.germain@ebooksfrance.com> Dear all, The need seems to have grown lately for a shared place where all the peop= le=20 interested in KDE and Qt bindings, regardless of the target language, cou= ld=20 discuss common issues/solutions and share their knowledge. The recently created [kde-bindings] list aims at fullfilling this need. To subscribe, either visit : http://mail.kde.org/mailman/listinfo/kde-bindings or send a mail with the subject "subscribe " to=20 kde-bindings-request@mail.kde.org Hoping to see you there, Sincerely, Germain From kde-java@kde.org Mon Jan 13 03:02:50 2003 From: kde-java@kde.org (david) Date: Mon, 13 Jan 2003 11:02:50 +0800 Subject: [Kde-java] cpu TEXASCOM ENTERPRISES CO., LTD. > > 3F NO. 135 PAO CHUNG RD. HSIN TIEN CITY,TAIPEI,TAIWAN > > TEL. 2917-3102 FAX. 2913-7636 > > MOBILE PHONE:886-916792256 > > Attn:DAVID > > > > CPU SLOT -1 STOCK FOR BID > > P3-450 PC100 512K 1PCS > > P3-500 PC100 512K 1PCS > > P3-533 PC133 512K 1PCS > > P3-550 PC100 512K 12PCS > > P3-650 PC100 512K 5PCS > > P3-667 PC133 256K 9PCS > > P3-700 PC100 256K 3PCS > > P3-733 PC100 256K 11PCS > > P3-750 PC100 256K 9PCS > > P3-800 PC133 256K 9PCS celeron 400 /128k 378pcs P-166mmx/.......................300PCS USD10.00 P- 200mmx/233mmx/ 300pcs USD14.00 P-266MMX 50 PCS USD20.00 P-366MMX ............CALL From kde-java@kde.org Thu Jan 16 15:43:06 2003 From: kde-java@kde.org (Felix Rodriguez) Date: Thu, 16 Jan 2003 10:43:06 -0500 Subject: [Kde-java] QTableSignals Interface Message-ID: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> Does anyone know how to use the QTableSignals Interface with QTable. I am try to connect a slot with the doubleClicked signal emitted from the QTable. I discovered that all the QTable signals are located in the QTableSignals interface. So I implemented the QTableSignals interface along with extending the same class from QTable. I then try to connect a slot to the doubleClicked signal and nothing happens. I know I must be missing a step somewhere. Thanks. Felix Rodriguez Programmer Analyst Phone: 860-685-3984 Email: frodriguez@mail.wesleyan.edu From kde-java@kde.org Fri Jan 17 12:45:36 2003 From: kde-java@kde.org (Richard Dale) Date: Fri, 17 Jan 2003 12:45:36 +0000 Subject: [Kde-java] QTableSignals Interface In-Reply-To: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> References: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> Message-ID: <200301171245.36181.Richard_Dale@tipitina.demon.co.uk> --Boundary-00=_wr/J+bEtPb39EeA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline I sent a mail last night with the attached sources uncompressed, and it got blocked by the 40k limit on this list. So here it is again a bit smaller On Thursday 16 January 2003 3:43 pm, Felix Rodriguez wrote: > Does anyone know how to use the QTableSignals Interface with QTable. I am > try to connect a slot with the doubleClicked signal emitted from the > QTable. I discovered that all the QTable signals are located in the > QTableSignals interface. So I implemented the QTableSignals interface along > with extending the same class from QTable. I then try to connect a slot to > the doubleClicked signal and nothing happens. I know I must be missing a > step somewhere. Thanks. This is a bug in the code that maps between the java signal type and the C++ one. In QTable the doubleClicked signal is 'int, int, int, const QPoint&'. But there was only a mapping for 'int, int, int, const QPoint', not QPoint as a reference, so it didn't work. Please find new versions of JavaSlot.cpp/.h attached with a fix. Copy the sources to kdebindings/qtjava/javalib/qtjava and rebuild and reinstall the bindings. I need to find if the signal type 'int, int, int, const QPoint' is used anywhere in Qt, otherwise I'll remove it. The interfaces like QTableSignals are just for documentary purposes, you don't have to implement the methods, they just tell you what java type signatures to use when connecting up signals. -- Richard --Boundary-00=_wr/J+bEtPb39EeA Content-Type: application/x-tgz; name="javaslot.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="javaslot.tar.gz" H4sIAFT6Jz4AA+1d/3PTurLn1+Sv0OuZ25OEkCYtB2Za6Fwop9xye4DSwpl5DI9xbaURdawgK+3p 5XL+9rf6Ylu2ZSdN0pIGe4ahkXZXq/2sVivZll85F86xT3nHHY3u3dDV7XW7jx49vNeF67H+v/dQ /d/tbfYePXp8Dyp6vUcPf+tubQH95mb3t3uoe1MKmdc45A5D6J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nNo8zsFMbhWMUExiusdiLjpB87gXF4jJ3AOI8kZ+bIjTlTgz1rgt1yyTkUrVTmUQuTSbKv 85dxGO9x28kmmne6l07tvNd/n7BIjvmqWIG7xa8eTWHBovAw7bsTGTbrA31FNMkDYEUUE0VMfCpm IqPlQYmJPEXxd8qbuPoebp7Z8grCNPO85Jxh2oz5SlqcssPWW49FISSZyuxKTs2VzmLqYlMIIhz2 VPIfbQMkt/J2gIRcQChVBJlthXj7ova5H+3qfM/t4kRU3+L9mlru7txOstz5O1eJvn036pM9jdp8 exoZTdWttOvuOOn7cuY+UqpIwlJye26nrtZk5vLLuFNnMmiVf8GwcOzX64u8eVdd1VVd1VVd1TXj 9f9j+sOWAMgAAA== --Boundary-00=_wr/J+bEtPb39EeA-- From kde-java@kde.org Fri Jan 17 13:58:27 2003 From: kde-java@kde.org (Felix Rodriguez) Date: Fri, 17 Jan 2003 08:58:27 -0500 Subject: [Kde-java] QTableSignals Interface In-Reply-To: <200301171245.36181.Richard_Dale@tipitina.demon.co.uk> References: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> Message-ID: <5.0.0.25.2.20030117085546.00aaea98@frodriguez.mail.wesleyan.edu> Richard, Thanks. That was driving me crazy. So crazy in fact, that I found a work around. I actually overrode the doubleClickEvent method and emitted my own signal. That seems to do the job. I am hesitant to put your patch in because I plan on releasing the application to the general public and I want to make sure that I don't deviate from the java kdebindings that come with kde. Is this patch going to be included in future a future version of the java-kde-qt bindings? By the way thanks for doing such a great job with the java kde/qt bindings. I am a java developer at work and have gotten accustomed to using Borland's JBuilder. I love the fact that I can use JBuilder to write my own KDE applications. This is much easier than using C++ to build my KDE apps. At 12:45 PM 1/17/2003 +0000, you wrote: >I sent a mail last night with the attached sources uncompressed, and it got >blocked by the 40k limit on this list. So here it is again a bit smaller > >On Thursday 16 January 2003 3:43 pm, Felix Rodriguez wrote: > > Does anyone know how to use the QTableSignals Interface with QTable. I am > > try to connect a slot with the doubleClicked signal emitted from the > > QTable. I discovered that all the QTable signals are located in the > > QTableSignals interface. So I implemented the QTableSignals interface along > > with extending the same class from QTable. I then try to connect a slot to > > the doubleClicked signal and nothing happens. I know I must be missing a > > step somewhere. Thanks. >This is a bug in the code that maps between the java signal type and the C++ >one. In QTable the doubleClicked signal is 'int, int, int, const QPoint&'. >But there was only a mapping for 'int, int, int, const QPoint', not QPoint >as a reference, so it didn't work. Please find new versions of >JavaSlot.cpp/.h attached with a fix. Copy the sources to >kdebindings/qtjava/javalib/qtjava and rebuild and reinstall the bindings. > >I need to find if the signal type 'int, int, int, const QPoint' is used >anywhere in Qt, otherwise I'll remove it. > >The interfaces like QTableSignals are just for documentary purposes, you >don't >have to implement the methods, they just tell you what java type signatures >to use when connecting up signals. > >-- Richard > > Felix Rodriguez Programmer Analyst Phone: 860-685-3984 Email: frodriguez@mail.wesleyan.edu From kde-java@kde.org Fri Jan 17 19:56:54 2003 From: kde-java@kde.org (Richard Dale) Date: Fri, 17 Jan 2003 19:56:54 +0000 Subject: [Kde-java] QTableSignals Interface In-Reply-To: <5.0.0.25.2.20030117085546.00aaea98@frodriguez.mail.wesleyan.edu> References: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> <5.0.0.25.2.20030117085546.00aaea98@frodriguez.mail.wesleyan.edu> Message-ID: <200301171956.54677.Richard_Dale@tipitina.demon.co.uk> On Friday 17 January 2003 1:58 pm, Felix Rodriguez wrote: > Richard, > > Thanks. That was driving me crazy. So crazy in fact, that I found a work > around. I actually overrode the doubleClickEvent method and emitted my own > signal. That seems to do the job. I am hesitant to put your patch in > because I plan on releasing the application to the general public and I > want to make sure that I don't deviate from the java kdebindings that come > with kde. Is this patch going to be included in future a future version of > the java-kde-qt bindings? Yes, I've just commited the change to the HEAD and KDE_3_1_BRANCHs - thanks for the bug report! It might be too late for the KDE 3.1 release though. The bug would have meant that the bindings runtime thought the 'int,int,int,QPoint' was a java signal and connected to that, rather than the correct C++ one. And you would have never emitted the signal in java, so nothing happened. > By the way thanks for doing such a great job with the java kde/qt > bindings. I am a java developer at work and have gotten accustomed to using > Borland's JBuilder. I love the fact that I can use JBuilder to write my own > KDE applications. This is much easier than using C++ to build my KDE apps That's good news - encouraging that java bindings makes KDE programming easier. Then we get more programmers, and so more apps.. I can program in C++, but I just personally find it all a bit of a headache and over-complicated. -- Richard > At 12:45 PM 1/17/2003 +0000, you wrote: > >I sent a mail last night with the attached sources uncompressed, and it > > got blocked by the 40k limit on this list. So here it is again a bit > > smaller > > > >On Thursday 16 January 2003 3:43 pm, Felix Rodriguez wrote: > > > Does anyone know how to use the QTableSignals Interface with QTable. I > > > am try to connect a slot with the doubleClicked signal emitted from the > > > QTable. I discovered that all the QTable signals are located in the > > > QTableSignals interface. So I implemented the QTableSignals interface > > > along with extending the same class from QTable. I then try to connect > > > a slot to the doubleClicked signal and nothing happens. I know I must > > > be missing a step somewhere. Thanks. > > > >This is a bug in the code that maps between the java signal type and the > > C++ one. In QTable the doubleClicked signal is 'int, int, int, const > > QPoint&'. But there was only a mapping for 'int, int, int, const > > QPoint', not QPoint as a reference, so it didn't work. Please find new > > versions of > >JavaSlot.cpp/.h attached with a fix. Copy the sources to > >kdebindings/qtjava/javalib/qtjava and rebuild and reinstall the bindings. > > > >I need to find if the signal type 'int, int, int, const QPoint' is used > >anywhere in Qt, otherwise I'll remove it. > > > >The interfaces like QTableSignals are just for documentary purposes, you > >don't > >have to implement the methods, they just tell you what java type > > signatures to use when connecting up signals. > > > >-- Richard > > Felix Rodriguez > Programmer Analyst > Phone: 860-685-3984 > Email: frodriguez@mail.wesleyan.edu > > > _______________________________________________ > Kde-java mailing list > Kde-java@mail.kde.org > http://mail.kde.org/mailman/listinfo/kde-java From kde-java@kde.org Fri Jan 17 20:03:30 2003 From: kde-java@kde.org (Felix Rodriguez) Date: Fri, 17 Jan 2003 15:03:30 -0500 Subject: [Kde-java] QTableSignals Interface In-Reply-To: <200301171956.54677.Richard_Dale@tipitina.demon.co.uk> References: <5.0.0.25.2.20030117085546.00aaea98@frodriguez.mail.wesleyan.edu> <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> <5.0.0.25.2.20030117085546.00aaea98@frodriguez.mail.wesleyan.edu> Message-ID: <5.0.0.25.2.20030117150024.00aaeab8@frodriguez.mail.wesleyan.edu> I agree. I am looking forward to being able to package the entire binary of my kde java application into one jar file and deploying the jar file without worrying about dependencies. At 07:56 PM 1/17/2003 +0000, you wrote: >That's good news - encouraging that java bindings makes KDE programming >easier. Then we get more programmers, and so more apps.. I can program in >C++, but I just personally find it all a bit of a headache and >over-complicated. > >-- Richard From kde-java@kde.org Tue Jan 21 07:23:21 2003 From: kde-java@kde.org (=?ISO-2022-JP?B?GyRCJU0lQyVIJW8hPCUvJTglYyVRJXMzdDwwMnE8UhsoQg==?=) Date: Tue, 21 Jan 2003 16:23:21 +0900 Subject: [Kde-java] =?ISO-2022-JP?B?GyRCIUpMJD41Qno5LTlwIighS0pAPFIkTjBlGyhC?= =?ISO-2022-JP?B?GyRCTkUlVyVtJTglJyUvJUgjWCRLOzIyQyROGyhC?= =?ISO-2022-JP?B?GyRCJDQwRkZiGyhC?= Message-ID: <0121103162321.2956@shimazaki> <事業者> 弊社は法人を設立して約3年のベンチャー企業です。 現在まで医療事業を目標に周到な下準備をしてまいりました。 http://www.networkjapan.co.jp/gl21 をご覧下さい。 (もっと詳しい内容をお知りになりたい場合は下記迄)    大阪府門真市本町43番43号 ネットワークジャパン株式会社 TEL06-6916-0080 http://www.networkjapan.co.jp ---------------------------------------------------------------------- 今後ご案内が不要の場合は gl21@networkjapan.co.jp に不要と記載して返信して 頂けましたらご案内リストから削除させていただきます。 末尾になりますが、突然メールをお送りしましたことをお詫び申し上げます。 最後までご覧いただきまして誠にありがとうございました。 From kde-java@kde.org Wed Jan 22 21:33:40 2003 From: kde-java@kde.org (Penny Brown) Date: Wed, 22 Jan 2003 23:33:40 +0200 Subject: [Kde-java] Sending newsletters from www.mail.kde.org Message-ID: ----=F6219D8CBF624A51A04B_A0DD_9C62_EDFD Content-Type: text/html;charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable GraphicMailHi,

Have you considered sending a regular newsletter from w= ww.mail.kde.org?

I think we can offer you a service to help you= easily design, send and track your graphical newsletters.
Graphi= cMail is an easy web-based solution that will have you up and runni= ng immediately.

  • SAVE TIME - Automated subscribe and unsubsc= ribe service. Invalid addresses deleted.
  • CREATE IMPACT - Start a = newsletter from a template and add images, fonts & colors.
  • SE= E RESULTS - What percentage opened your mails? How many subscribed or u= nsubscribed?
  • QUICK LOGIN - GraphicMail is web based, so you can acc= ess it from anywhere.

    You'll be surprised by the low cost and ef= fectiveness of newsletters sent in full colour.
    To find out more abo= ut GraphicMail, try our free trial or guided tour or visit www.GraphicMail.com.

    Best regar= ds,

    Penny Brown
    Sales and Marketing
    E-mail: penny@graphicmail.com
    http://www.GraphicMail.com

    = =
    = = = <= /tr> = = =
    = =
     
    =
    = =
    = = = =
     

      No = obligation.
    1 month trial.
    =

       
    ----=F6219D8CBF624A51A04B_A0DD_9C62_EDFD-- From kde-java@kde.org Fri Jan 24 14:00:44 2003 From: kde-java@kde.org (Marco Ladermann) Date: Fri, 24 Jan 2003 15:00:44 +0100 Subject: [Kde-java] QSizePolicy Message-ID: <200301241500.44497.marco.ladermann@gmx.de> Hi all, I'm on the way to develop XSLT stylesheets to generate Java from=20 Qt-designer's UI files. While translating the tag and its=20 and subtags I encountered the problem that the=20 designer uses numeric characters as content of those tags. I looked up th= e Qt=20 reference and found the method signature (C++): QSizePolicy =09setHorStretch( uchar ) =09setVerStretch( uchar ) in Java =09setHorStretch( String ) =09setVerStretch( String ) Indeed this methods are implemented as JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setHorStretch(JNIEnv *env, jobject obj, jstri= ng=20 sf) { static QCString * _qstring_sf =3D 0; =09((QSizePolicy*) QtSupport::getQt(env, obj))->setHorStretch((uchar)=20 QtSupport::toCharString(env, sf, &_qstring_sf)); =09return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_setVerStretch(JNIEnv *env, jobject obj, jstri= ng=20 sf) { static QCString * _qstring_sf =3D 0; =09((QSizePolicy*) QtSupport::getQt(env, obj))->setVerStretch((uchar)=20 QtSupport::toCharString(env, sf, &_qstring_sf)); =09return; } in qtjava/QSizePolicy.cpp, but QtSupport::toCharString returns char* and = I'm=20 wondering if this cast to uchar is correct? Okay, I think it will not cr= ash,=20 but neither do any usefull ;-). Marco From kde-java@kde.org Sat Jan 25 05:25:00 2003 From: kde-java@kde.org (Richard Dale) Date: Sat, 25 Jan 2003 05:25:00 +0000 Subject: [Kde-java] QSizePolicy In-Reply-To: <200301241500.44497.marco.ladermann@gmx.de> References: <200301241500.44497.marco.ladermann@gmx.de> Message-ID: <200301250525.00288.Richard_Dale@tipitina.demon.co.uk> On Friday 24 January 2003 2:00 pm, Marco Ladermann wrote: > Hi all, > > I'm on the way to develop XSLT stylesheets to generate Java from > Qt-designer's UI files. Sounds interesting - I was going to hack to uic to generate java instead of C++. I hadn't thought of doing something clever with stylesheets to do it. It would certainly be a big improvement if it was possible to use Qt Designer with QtJava. The virtual method callbacks to the polish() methods are missing, and the uic generated code overrides those. That was something I was meaning to fix. > While translating the tag and its > and subtags I encountered the problem that the > designer uses numeric characters as content of those tags. I looked up the > Qt reference and found the method signature (C++): > > QSizePolicy > setHorStretch( uchar ) > setVerStretch( uchar ) > > in Java > setHorStretch( String ) > setVerStretch( String ) > > Indeed this methods are implemented as > > > JNIEXPORT void JNICALL > Java_org_kde_qt_QSizePolicy_setHorStretch(JNIEnv *env, jobject obj, jstring > sf) > { > static QCString * _qstring_sf = 0; > ((QSizePolicy*) QtSupport::getQt(env, obj))->setHorStretch((uchar) > QtSupport::toCharString(env, sf, &_qstring_sf)); > return; > } > > JNIEXPORT void JNICALL > Java_org_kde_qt_QSizePolicy_setVerStretch(JNIEnv *env, jobject obj, jstring > sf) > { > static QCString * _qstring_sf = 0; > ((QSizePolicy*) QtSupport::getQt(env, obj))->setVerStretch((uchar) > QtSupport::toCharString(env, sf, &_qstring_sf)); > return; > } > > > in qtjava/QSizePolicy.cpp, but QtSupport::toCharString returns char* and > I'm wondering if this cast to uchar is correct? Okay, I think it will not > crash, but neither do any usefull ;-). Oops - this is totally wrong - not useful at all! I've changed the uchars to map onto java shorts in both the HEAD and KDE_3_1_BRANCH branches of the qtjava project. -- Richard From kde-java@kde.org Sat Jan 25 12:53:01 2003 From: kde-java@kde.org (Marco Ladermann) Date: Sat, 25 Jan 2003 13:53:01 +0100 Subject: [Kde-java] QSizePolicy In-Reply-To: <200301250525.00288.Richard_Dale@tipitina.demon.co.uk> References: <200301241500.44497.marco.ladermann@gmx.de> <200301250525.00288.Richard_Dale@tipitina.demon.co.uk> Message-ID: <200301251353.01643.Marco.Ladermann@gmx.de> On Samstag, 25. Januar 2003 06:25, Richard Dale wrote: > On Friday 24 January 2003 2:00 pm, Marco Ladermann wrote: > > I'm on the way to develop XSLT stylesheets to generate Java from > > Qt-designer's UI files. > > Sounds interesting - I was going to hack to uic to generate java instead of > C++. I hadn't thought of doing something clever with stylesheets to do it. > It would certainly be a big improvement if it was possible to use Qt > Designer with QtJava. > Last year I tried to get your patch to uic running, but I couldn'd manage it in a convincing way. For this reason and because one might patch uic anew for every new release of uic, I thought it would be better to try another approach. Finally I decided to give XSLT a chance, because it is platform independend (another alternative would be Velocity at http://jakarta.apache.org/velocity, but that needs java) In the long term it should be possible to generate any language for which there exists a binding, but for the moment I'll be happy to get arround those nasty little bugs in the XSLT processors (xsltproc, xalan, saxon), the poor documentation of the UI file format and some incompatibilities between the Qt C++-classes and the Java-classes (see below). When I have something running that is worth publishing, I will publish the code here to discuss and improve it. The timeframe for this depends on my ability to convince my company (or at least my department), that QtJava is a serious alternative to Visual Basic and Java/Swing (I'm so far the onlyone to use a KDE-box on the desktop). If this succeeds, I expect to have something in two or three weeks. If not, then I can only work at home and it will take definitively longer. BTW: Your anouncement to put win dll's of the QtJava bindings on SF was a big plus for my argumentation pro QtJava in my company. And now to something completely different! QSizePolicy (C++) has a constructor QSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar verStretch, bool hfw = FALSE ) which is not defined in the Java proxy. Therefore I had to change the uic approach from setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWid th() ) ); to something like: QSizePolicy cwSizePolicy = new QSizePolicy(); cwSizePolicy.setHorData( 3 ); cwSizePolicy.setVerData( 5 ); cwSizePolicy.setHorStretch( 0 ); cwSizePolicy.setVerStretch( 0 ); cw.setSizePolicy( cwSizePolicy ); This is of course no problem, as long as every "property" class has a noarg constructor, otherwise I have to introduce handling for special cases :(. Marco From kde-java@kde.org Sun Jan 26 19:08:55 2003 From: kde-java@kde.org (Richard Dale) Date: Sun, 26 Jan 2003 19:08:55 +0000 Subject: [Kde-java] QSizePolicy In-Reply-To: <200301251353.01643.Marco.Ladermann@gmx.de> References: <200301241500.44497.marco.ladermann@gmx.de> <200301250525.00288.Richard_Dale@tipitina.demon.co.uk> <200301251353.01643.Marco.Ladermann@gmx.de> Message-ID: <200301261908.55845.Richard_Dale@tipitina.demon.co.uk> On Saturday 25 January 2003 12:53 pm, Marco Ladermann wrote: > BTW: Your anouncement to put win dll's of the QtJava bindings on SF was a > big plus for my argumentation pro QtJava in my company. Ah - that was before I actually looked at the license that Trolltech had given me. I found it was for a dual X11/Mac OS X one, so I can't build any Windows dlls still. And I don't have a Windows development environment anyway (that's what I told the trolls, and why they've given me that Mac/X11 license). But porting the QtJava bindings should be trivial for someone with the right Windows development environment. If I can get them to build on Mac OS X, it will remove any X11-specific methods which wouldn't have compiled on Windows either. Then just use qmake to generate the build environment for the dll. > And now to something completely different! > > QSizePolicy (C++) has a constructor > QSizePolicy ( SizeType hor, SizeType ver, uchar horStretch, uchar > verStretch, bool hfw = FALSE ) > > which is not defined in the Java proxy. Therefore I had to change the uic > approach from > > setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, > (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWid > th() ) ); > > to something like: > QSizePolicy cwSizePolicy = new QSizePolicy(); > cwSizePolicy.setHorData( 3 ); > cwSizePolicy.setVerData( 5 ); > cwSizePolicy.setHorStretch( 0 ); > cwSizePolicy.setVerStretch( 0 ); > cw.setSizePolicy( cwSizePolicy ); > > This is of course no problem, as long as every "property" class has a noarg > constructor, otherwise I have to introduce handling for special cases :(. It has this constructor after the recent fixes to the HEAD and KDE_3_1_BRANCH branches: public QSizePolicy( int hor, int ver, short hors, short vers, boolean hfw); -- Richard From kde-java@kde.org Fri Jan 31 06:06:22 2003 From: kde-java@kde.org (Ali Naddaf) Date: Fri, 31 Jan 2003 00:06:22 -0600 Subject: [Kde-java] Installation Question Message-ID: <200301310006.22021.ali@naddaf.net> Hello everyone. I apologize in advance if my question has been already asked and answered= ; I=20 tried to find my answer in the archive and couldn't quite find it. I would like to install whatever is necessary to have KDE-Java working; I= am=20 currently running kde3.1 which was released a few days ago. My main quest= ion=20 is what else I need to install? Do I need a separate library or kdebindin= gs=20 and the standard kde3.1 will do the trick?=20 If someone could point me to where I can find answers to my questions, th= at=20 would be really appreciated.=20 BTW, is there any documentation anywhere for kde-java? The KDeveloper sit= e=20 seems to be pretty old (and it only talks about the kde2/Qt2). Many thanks, Ali. From kde-java@kde.org Fri Jan 31 11:17:06 2003 From: kde-java@kde.org (George Russell) Date: Fri, 31 Jan 2003 11:17:06 +0000 Subject: [Kde-java] Installation Question Message-ID: > is what else I need to install? Do I need a separate library or kdebindin= > gs=20 > and the standard kde3.1 will do the trick?=20 Any modern JVM, AFAIK at leat 1.2 or later > BTW, is there any documentation anywhere for kde-java? The KDeveloper sit= > e=20 > seems to be pretty old (and it only talks about the kde2/Qt2). You can use Javadoc to get an API reference from the sourcecode of the java bindings, and Qt / KDE generic documentation (for C++) as well. There are some example programs to look at, which show how the libraries are initialised and signal/slots used. Also, the LD_LIBRARY_PATH environment needed set for me. George -- From kde-java@kde.org Fri Jan 31 12:32:47 2003 From: kde-java@kde.org (Richard Dale) Date: Fri, 31 Jan 2003 12:32:47 +0000 Subject: [Kde-java] Installation Question In-Reply-To: <200301310006.22021.ali@naddaf.net> References: <200301310006.22021.ali@naddaf.net> Message-ID: <200301311232.47979.Richard_Dale@tipitina.demon.co.uk> On Friday 31 January 2003 6:06 am, Ali Naddaf wrote: > I apologize in advance if my question has been already asked and answered; > I tried to find my answer in the archive and couldn't quite find it. > > I would like to install whatever is necessary to have KDE-Java working; I > am currently running kde3.1 which was released a few days ago. My main > question is what else I need to install? Do I need a separate library or > kdebindings and the standard kde3.1 will do the trick? You need to install the libqtjava.so and libkdejava.so libraries, and the qtjava.jar and koala.jar files (that's done by the 'make install' command in kdebindings/qtjava and kdejava). Then make sure the two jar files are on your CLASSPATH, and that you've run 'ldconfig' after installing the libs. > If someone could point me to where I can find answers to my questions, that > would be really appreciated. > > BTW, is there any documentation anywhere for kde-java? The KDeveloper site > seems to be pretty old (and it only talks about the kde2/Qt2). No there isn't much documentation I'm afraid. Look in the qtjava/README and kdejava/README files. Build the javadoc documentation (it needs lots of memory to run), and then go and look at the example programs and try them out is probably the best way to start. See kdejava/koala/examples/kscribble for an example KDE app to use as a possible starting point. People have reported problems with hotspot on 1.3 and 1.4 jvms, so you may need to turn off hotspot if you have unexpected crashes. -- Richard From kde-java@kde.org Fri Jan 17 00:20:47 2003 From: kde-java@kde.org (Richard Dale) Date: Fri, 17 Jan 2003 00:20:47 +0000 Subject: [Kde-java] QTableSignals Interface In-Reply-To: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> References: <5.0.0.25.2.20030116104030.00bad0c0@frodriguez.mail.wesleyan.edu> Message-ID: <200301170020.47717.Richard_Dale@tipitina.demon.co.uk> --Boundary-00=_fx0J+noOIzIE77N Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 16 January 2003 3:43 pm, Felix Rodriguez wrote: > Does anyone know how to use the QTableSignals Interface with QTable. I am > try to connect a slot with the doubleClicked signal emitted from the > QTable. I discovered that all the QTable signals are located in the > QTableSignals interface. So I implemented the QTableSignals interface along > with extending the same class from QTable. I then try to connect a slot to > the doubleClicked signal and nothing happens. I know I must be missing a > step somewhere. Thanks. This is a bug in the code that maps between the java signal type and the C++ one. In QTable the doubleClicked signal is 'int, int, int, const QPoint&'. But there was only a mapping for 'int, int, int, const QPoint', not QPoint as a reference, so it didn't work. Please find new versions of JavaSlot.cpp/.h attached with a fix. Copy the sources to kdebindings/qtjava/javalib/qtjava and rebuild and reinstall the bindings. I need to find if the signal type 'int, int, int, const QPoint' is used anywhere in Qt, otherwise I'll remove it. The interfaces like QTableSignals are just for documentary purposes, you don't have to implement the methods, they just tell you what java type signatures to use when connecting up signals. -- Richard --Boundary-00=_fx0J+noOIzIE77N Content-Type: text/x-c++src; charset="iso-8859-1"; name="JavaSlot.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="JavaSlot.cpp" /*************************************************************************** JavaSlot.h - description ------------------- begin : Tue Oct 31 2000 copyright : (C) 2000 by Richard Dale email : Richard_Dale@tipitina.demon.co.uk ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include #include #include "JavaSlot.moc" #include /* Converts a Java type signature, from a signal or slot, to the corresponding C++ Qt type. Used to connect a Java slot to a signal emitted by the underlying C++ Qt instance. Note that all Java slots and signals are of type jobjectArray, and so no conversion is needed for them. */ static const char * const javaToQtTypeSignatureMap[][2] = { {"()", "()"}, {"(boolean)", "(bool)"}, {"(byte)", "(unsigned char)"}, {"(char)", "(const QChar)"}, {"(short)", "(short)"}, {"(int)", "(int)"}, {"(long)", "(long)"}, {"(float)", "(float)"}, {"(double)", "(double)"}, {"(int)", "(BarPosition)"}, {"(int)", "(Orientation)"}, {"(QAction)", "(QAction*)"}, {"(Calendar)", "(QDate)"}, {"(QDockWindow)", "(QDockWindow*)"}, {"(int)", "(QDockWindow::Place)"}, {"(QDropEvent)", "(QDropEvent*)"}, {"(QDropEvent,QListViewItem)", "(QDropEvent*,QListViewItem*)"}, {"(QDropEvent,QListViewItem,ArrayList)", "(QDropEvent*,QListViewItem*,QIconDragItemList*)"}, {"(QDropEvent,ArrayList)", "(QDropEvent*,const QValueList&)"}, {"(QIconViewItem)", "(QIconViewItem*)"}, {"(QIconViewItem,QPoint)", "(QIconViewItem*,const QPoint&)"}, {"(QIconViewItem,QPoint)", "(QIconViewItem*,const QPoint)"}, {"(QIconViewItem,String)", "(QIconViewItem*,const QString)"}, {"(QListViewItemList)", "(QList)"}, {"(QListViewItemList,QListViewItemList)", "(QList,QList)"}, {"(QListViewItemList,QListViewItemList,QListViewItemList)", "(QList,QList,QList)"}, {"(QListBoxItem)", "(QListBoxItem*)"}, {"(QListBoxItem,QPoint)", "(QListBoxItem*,const QPoint)"}, {"(QListViewItem)", "(QListViewItem*)"}, {"(QListViewItem,QListViewItem)", "(QListViewItem*,QListViewItem*)"}, {"(QListViewItem,QListViewItem,QListViewItem)", "(QListViewItem*,QListViewItem*,QListViewItem*)"}, {"(QListViewItem,QPoint)", "(QListViewItem*,const QPoint&)"}, {"(QListViewItem,QPoint,int)", "(QListViewItem*,const QPoint&,int)"}, {"(QListViewItem,QPoint,int)", "(QListViewItem*,const QPoint,int)"}, {"(QListViewItem,String,int)", "(QListViewItem*,const QString,int)"}, {"(QNetworkOperation)", "(QNetworkOperation*)"}, {"(QObject)", "(QObject*)"}, {"(int)", "(QSql::Op)"}, {"(int)", "(QSqlCursor::Mode)"}, {"(QSqlRecord)", "(QSqlRecord*)"}, {"(QToolBar)", "(QToolBar*)"}, {"(byte[])", "(QByteArray&)"}, {"(byte[],QNetworkOperation)", "(QByteArray&,QNetworkOperation*)"}, {"(QWidget)", "(QWidget*)"}, {"(QColor)", "(const QColor&)"}, {"(Calendar)", "(const QDate&)"}, {"(Calendar)", "(const QDateTime&)"}, {"(QFont)", "(const QFont&)"}, {"(QRect)", "(const QRect&)"}, {"(QSize)", "(const QSize&)"}, {"(QSqlRecord)", "(const QSqlRecord*)"}, {"(ArrayList)", "(const QStringList&)"}, {"(String)", "(const QString&)"}, {"(String)", "(const QString)"}, {"(String,int)", "(const QString&,int)"}, {"(String,String)", "(const QString&,const QString&)"}, {"(String,QLibrary)", "(const QString&,QLibrary*)"}, {"(String,QPoint)", "(const QString,const QPoint)"}, {"(String,String)", "(const QString,const QString)"}, {"(Date)", "(const QTime&)"}, {"(QUrlInfo,QNetworkOperation)", "(const QUrlInfo&,QNetworkOperation*)"}, {"(ArrayList,QNetworkOperation)", "(const QValueList&,QNetworkOperation*)"}, {"(QVariant)", "(const QVariant&)"}, {"(int,QIconViewItem)", "(int,QIconViewItem*)"}, {"(int,QIconViewItem,QPoint)", "(int,QIconViewItem*,const QPoint&)"}, {"(int,QListBoxItem)", "(int,QListBoxItem*)"}, {"(int,QListBoxItem,QPoint)", "(int,QListBoxItem*,const QPoint&)"}, {"(int,QListViewItem,QPoint,int)", "(int,QListViewItem*,const QPoint,int)"}, {"(int,QPoint)", "(int,QPoint)"}, {"(int,String)", "(int,const QString&)"}, {"(int,boolean)", "(int,bool)"}, {"(int,int)", "(int,int)"}, {"(int,int,QNetworkOperation)", "(int,int,QNetworkOperation*)"}, {"(int,int,int)", "(int,int,int)"}, {"(int,int,QPoint)", "(int,int,const QPoint&)"}, {"(int,int,int,QPoint)", "(int,int,int,const QPoint)"}, {"(int,int,int,QPoint)", "(int,int,int,const QPoint&)"} }; JavaSlot::JavaSlot(JNIEnv * env, jobject receiver, jstring slot) { jobject javaInvocation; jmethodID cid; jclass invocationClass; invocationClass = env->FindClass("org/kde/qt/Invocation"); if (invocationClass == NULL) { return; } cid = env->GetMethodID(invocationClass, "", "(Ljava/lang/Object;Ljava/lang/String;)V"); if (cid == NULL) { return; } javaInvocation = env->NewObject(invocationClass, cid, receiver, slot); invocation = env->NewGlobalRef(javaInvocation); env->DeleteLocalRef(invocationClass); } JavaSlot::~JavaSlot() { JNIEnv * env; env = QtSupport::GetEnv(); env->PushLocalFrame(10); env->DeleteGlobalRef(invocation); } JavaSlotFactory * JavaSlot::_factory = 0L; void JavaSlot::setJavaSlotFactory(JavaSlotFactory * factory) { if (_factory != 0L) { delete _factory; } _factory = factory; } JavaSlot * JavaSlot::createJavaSlot(JNIEnv * env, jobject receiver, jstring slot) { return _factory->createJavaSlot(env, receiver, slot); } const char * JavaSlot::javaToQtSignalName(JNIEnv * env, jstring signal, QMetaObject * smeta) { char signalName[200]; char javaTypeSignature[200]; char * signalString = (char*) env->GetStringUTFChars(signal, (jboolean *) 0); if ( signalString[0] == '2' && sscanf(signalString, "%[^(]%s", signalName, javaTypeSignature) == 2 ) { env->ReleaseStringUTFChars(signal, signalString); return javaToQtSignalType(signalName, javaTypeSignature, smeta); } env->ReleaseStringUTFChars(signal, signalString); return ""; } const char * JavaSlot::javaToQtSignalType(const char * signalName, const char * javaTypeSignature, QMetaObject * smeta) { static char qtSignalString[200]; for ( unsigned int index = 0; index < sizeof(javaToQtTypeSignatureMap)/sizeof(*javaToQtTypeSignatureMap); index++ ) { if (strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0) { (void) sprintf(qtSignalString, "%s%s", signalName, javaToQtTypeSignatureMap[index][1]); if (smeta == 0 || smeta->findSignal(((const char *) qtSignalString + 1), TRUE) >= 0) { return qtSignalString; } } } return ""; } const char * JavaSlot::javaToQtSlotName(JNIEnv * env, jstring slot, const char * signalString) { static char qtSlotString[200]; char javaTypeSignature[200]; char * slotString = (char*) env->GetStringUTFChars(slot, (jboolean *) 0); if (sscanf(slotString, "%*[^(]%s", javaTypeSignature) == 1) { env->ReleaseStringUTFChars(slot, slotString); (void) sprintf(qtSlotString, "1invoke%s", javaToQtSlotType(javaTypeSignature, signalString)); return qtSlotString; } (void) sprintf(qtSlotString, "1invoke%s", slotString); env->ReleaseStringUTFChars(slot, slotString); return qtSlotString; } const char * JavaSlot::javaToQtSlotType(const char * javaTypeSignature, const char * signalString) { for ( unsigned int index = 0; index < sizeof(javaToQtTypeSignatureMap)/sizeof(*javaToQtTypeSignatureMap); index++ ) { if ( strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0 && ( signalString == 0 || QObject::checkConnectArgs(signalString, (const QObject *) 0, javaToQtTypeSignatureMap[index][1]) ) ) { return javaToQtTypeSignatureMap[index][1]; } } // If no matching C++ type signature is found, then just return the java one return javaTypeSignature; } void JavaSlot::invoke() { invoke((jobjectArray) 0); } void JavaSlot::invoke(bool arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Z)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(unsigned char arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(B)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(char arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(C)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(short arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(S)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(long arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(J)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(float arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(F)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(double arg) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(D)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, arg); env->PopLocalFrame(0); } void JavaSlot::invoke(jobjectArray args) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "([Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, args); env->PopLocalFrame(0); } void JavaSlot::invoke(Orientation arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1); env->PopLocalFrame(0); } void JavaSlot::invoke(QAction * arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QAction")); env->PopLocalFrame(0); } void JavaSlot::invoke(QDockWindow * arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QDockWindow")); env->PopLocalFrame(0); } void JavaSlot::invoke(QDockWindow::Place arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1); env->PopLocalFrame(0); } void JavaSlot::invoke(QDropEvent* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QDropEvent")); env->PopLocalFrame(0); } void JavaSlot::invoke(QDropEvent* arg1,QListViewItem*arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QDropEvent"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QListViewItem") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QDropEvent*arg1,QListViewItem*arg2,QListViewItem*arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QDropEvent"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QListViewItem"), QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.QListViewItem") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QDropEvent* arg1,const QValueList& arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QDropEvent"), QtSupport::arrayWithQIconDragItemList(env, (QValueList *) &arg2) ); env->PopLocalFrame(0); } void JavaSlot::invoke(QIconViewItem* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QIconViewItem")); env->PopLocalFrame(0); } void JavaSlot::invoke(QIconViewItem* arg1,const QPoint& arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QIconViewItem"), QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.QPoint") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QIconViewItem* arg1,const QString arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QIconViewItem"), QtSupport::fromQString(env, (QString *) &arg2) ); env->PopLocalFrame(0); } void JavaSlot::invoke(QList arg1,QList arg2,QList arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QList"), QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.QList"), QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.QList") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QListBoxItem* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListBoxItem")); env->PopLocalFrame(0); } void JavaSlot::invoke(QListBoxItem* arg1,const QPoint arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListBoxItem"), QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.QPoint") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QListViewItem*arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListViewItem")); env->PopLocalFrame(0); } void JavaSlot::invoke(QListViewItem* arg1, int arg2, const QString arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListViewItem"), (jint) arg2, QtSupport::fromQString(env, (QString *) &arg3) ); env->PopLocalFrame(0); } void JavaSlot::invoke(QListViewItem* arg1,QListViewItem*arg2,QListViewItem*arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListViewItem"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QListViewItem"), QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.QListViewItem") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QListViewItem* arg1,const QPoint& arg2,int arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListBoxItem"), QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.QPoint"), (jint) arg3 ); env->PopLocalFrame(0); } void JavaSlot::invoke(QListViewItem* arg1,const QString arg2,int arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListViewItem"), QtSupport::fromQString(env, (QString *) &arg2), (jint) arg3 ); env->PopLocalFrame(0); } void JavaSlot::invoke(QListViewItem* arg1,int arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QListViewItem"), (jint) arg1 ); env->PopLocalFrame(0); } void JavaSlot::invoke(QNetworkOperation* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QNetworkOperation") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QObject* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QObject") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QSql::Op arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1); env->PopLocalFrame(0); } void JavaSlot::invoke(QSqlCursor::Mode arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1); env->PopLocalFrame(0); } void JavaSlot::invoke(QSqlRecord* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QSqlRecord") ); env->PopLocalFrame(0); } void JavaSlot::invoke(QToolBar* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QToolBar")); env->PopLocalFrame(0); } void JavaSlot::invoke(QWidget* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QWidget")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QByteArray& arg1,QNetworkOperation* arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "([BLjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::fromQByteArray(env, (QByteArray *) &arg1), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QNetworkOperation") ); env->PopLocalFrame(0); } void JavaSlot::invoke(const QColor& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QColor")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QDate& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::fromQDate(env, (QDate *) &arg1)); env->PopLocalFrame(0); } void JavaSlot::invoke(const QDateTime& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::fromQDateTime(env, (QDateTime *) &arg1)); env->PopLocalFrame(0); } void JavaSlot::invoke(const QFont& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QFont")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QRect& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QRect")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QSize& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QSize")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QSqlRecord* arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.QSqlRecord")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QString& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::fromQString(env, (QString *) &arg1)); env->PopLocalFrame(0); } void JavaSlot::invoke(const QString& arg1,QLibrary* arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::fromQString(env, (QString *) &arg1), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QLibrary") ); env->PopLocalFrame(0); } void JavaSlot::invoke(const QStringList& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::arrayWithQStringList(env, (QStringList *) &arg1)); env->PopLocalFrame(0); } void JavaSlot::invoke(const QTime& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QTime")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QUrlInfo& arg1,QNetworkOperation* arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QUrlInfo"), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QNetworkOperation") ); env->PopLocalFrame(0); } void JavaSlot::invoke(const QValueList& arg1,QNetworkOperation* arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::arrayWithQUrlInfoList(env, (QValueList *) &arg1), QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QNetworkOperation") ); env->PopLocalFrame(0); } void JavaSlot::invoke(const QVariant& arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QVariant")); env->PopLocalFrame(0); } void JavaSlot::invoke(const QChar arg1) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(C)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, QtSupport::fromQChar(env, (QChar *) &arg1)); env->PopLocalFrame(0); } void JavaSlot::invoke(const QString& arg1,int arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::fromQString(env, (QString *) &arg1), (jint) arg2 ); env->PopLocalFrame(0); } void JavaSlot::invoke(const QString& arg1,const QString& arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, QtSupport::fromQString(env, (QString *) &arg1), QtSupport::fromQString(env, (QString *) &arg2) ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,QIconViewItem* arg2,const QPoint& arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QIconViewItem"), QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.QPoint") ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,QListBoxItem* arg2,const QPoint arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QListBoxItem"), QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.QPoint") ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,QListViewItem* arg2,const QPoint arg3,int arg4) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.QListBoxItem"), QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.QPoint"), (jint) arg4 ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,QPoint arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.QPoint") ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,bool arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(IZ)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1, (jboolean) arg2); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,int arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(II)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1, (jint) arg2); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,int arg2,QNetworkOperation* arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(IILjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, arg1, arg2, QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.QNetworkOperation") ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,int arg2,const QPoint& arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(IILjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, arg1, arg2, QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.QPoint") ); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,int arg2,int arg3) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(III)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod(invocation, mid, (jint) arg1, (jint) arg2, (jint) arg3); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1,int arg2,int arg3,const QPoint & arg4) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(IIILjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, (jint) arg1, (jint) arg2, (jint) arg3, QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.qt.QPoint")); env->PopLocalFrame(0); } void JavaSlot::invoke(int arg1, const QString& arg2) { JNIEnv * env; jclass cls; jmethodID mid; jobject result; env = QtSupport::GetEnv(); env->PushLocalFrame(10); cls = env->GetObjectClass(invocation); mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;)Ljava/lang/Object;"); if (mid == NULL) { return; } result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::fromQString(env, (QString *) &arg2) ); env->PopLocalFrame(0); } JavaSlotFactory::JavaSlotFactory() { } JavaSlot * JavaSlotFactory::createJavaSlot(JNIEnv * env, jobject receiver, jstring slot) { return new JavaSlot(env, receiver, slot); } JavaSignal::JavaSignal() { } JavaSignal::~JavaSignal() { } void JavaSignal::emitArgs(jobjectArray args) { emit signalJava(args); } --Boundary-00=_fx0J+noOIzIE77N Content-Type: text/x-chdr; charset="iso-8859-1"; name="JavaSlot.h" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="JavaSlot.h" /*************************************************************************** JavaSlot.h - description ------------------- begin : Tue Oct 31 2000 copyright : (C) 2000 by Richard Dale email : Richard_Dale@tipitina.demon.co.uk ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * Lost Highway Ltd reserves the right to issue additional license types * * compatible with the Trolltech AS Qt commercial license. * ***************************************************************************/ #ifndef _JAVASLOT_H_ #define _JAVASLOT_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class JavaSlotFactory; class QMetaObject; class JavaSlot: public QObject { Q_OBJECT public: JavaSlot(JNIEnv * env, jobject receiver, jstring slot); ~JavaSlot(); /** Set the JavaSlot factory to create any JavaSlot instances */ static void setJavaSlotFactory(JavaSlotFactory * factory); /** Return a new JavaSlot instance via the JavaSlot factory */ static JavaSlot * createJavaSlot(JNIEnv * env, jobject receiver, jstring slot); /** Given a Java signal name, returns the corresponding C++ signal name. The QMetaObject is used to check whether the QObject instance described by 'smeta' implements the C++ signal. */ const char * javaToQtSignalName(JNIEnv * env, jstring signalString, QMetaObject * smeta); /** Converts a Java type signature for a signal to the corresponding C++ Qt type signature.*/ virtual const char * javaToQtSignalType(const char * signalName, const char * javaTypeSignature, QMetaObject * smeta); /** Given a Java slot name, returns the corresponding C++ slot name. The optional signalString parameter is the C++ signal to connect to - any C++ slot type signature must match this. */ const char * javaToQtSlotName(JNIEnv * env, jstring slotString, const char * signalString = 0); /** Converts a Java type signature for a slot to the corresponding C++ Qt type signature.*/ virtual const char * javaToQtSlotType(const char * javaTypeSignature, const char * signalString); public slots: void invoke(); void invoke(bool arg); void invoke(char arg); void invoke(double arg); void invoke(float arg); void invoke(int arg); void invoke(jobjectArray args); void invoke(long arg); void invoke(short arg); void invoke(unsigned char arg); void invoke(Orientation arg1); void invoke(QAction * arg1); // void invoke(QDate arg1); void invoke(QDockWindow * arg1); void invoke(QDockWindow::Place arg1); void invoke(QDropEvent* arg1); void invoke(QDropEvent* arg1,QListViewItem*arg2); void invoke(QDropEvent* arg1,const QValueList& arg2); void invoke(QDropEvent*arg1,QListViewItem*arg2,QListViewItem*arg3); void invoke(QIconViewItem* arg1); void invoke(QIconViewItem* arg1,const QPoint& arg2); void invoke(QIconViewItem* arg1,const QString arg2); void invoke(QList arg1,QList arg2,QList arg3); void invoke(QListBoxItem* arg1); void invoke(QListBoxItem* arg1,const QPoint arg2); void invoke(QListViewItem* arg1, int arg2, const QString arg3); void invoke(QListViewItem* arg1,QListViewItem*arg2,QListViewItem*arg3); void invoke(QListViewItem* arg1,const QPoint& arg2,int arg3); void invoke(QListViewItem* arg1,const QString arg2,int arg3); void invoke(QListViewItem* arg1,int arg2); void invoke(QListViewItem*arg1); void invoke(QNetworkOperation* arg1); void invoke(QObject* arg1); void invoke(QSql::Op arg1); void invoke(QSqlCursor::Mode arg1); void invoke(QSqlRecord* arg1); // void invoke(QTextCursor* arg1); void invoke(QToolBar* arg1); void invoke(QWidget* arg1); void invoke(const QByteArray& arg1,QNetworkOperation* arg2); void invoke(const QColor& arg1); void invoke(const QDate& arg1); void invoke(const QDateTime& arg1); void invoke(const QFont& arg1); void invoke(const QRect& arg1); void invoke(const QSize& arg1); // void invoke(const QPtrList& arg1); void invoke(const QSqlRecord* arg1); void invoke(const QString& arg1); void invoke(const QString& arg1,QLibrary* arg2); void invoke(const QStringList& arg1); void invoke(const QTime& arg1); void invoke(const QUrlInfo& arg1,QNetworkOperation* arg2); void invoke(const QValueList& arg1,QNetworkOperation* arg2); void invoke(const QVariant& arg1); void invoke(const QChar arg1); void invoke(const QString& arg1,int arg2); void invoke(const QString& arg1,const QString& arg2); void invoke(int arg1,QPoint arg2); void invoke(int arg1,bool arg2); void invoke(int arg1,int arg2); void invoke(int arg1,int arg2,QNetworkOperation* arg3); void invoke(int arg1,int arg2,const QPoint& arg3); void invoke(int arg1,int arg2,int arg3); void invoke(int arg1,int arg2,int arg3,const QPoint& arg4); void invoke(int,QIconViewItem* arg1,const QPoint& arg2); void invoke(int,QListBoxItem* arg1,const QPoint arg2); void invoke(int,QListViewItem* arg1,const QPoint arg2,int arg3); void invoke(int arg1, const QString& arg2); // void invoke(const QString arg1,const QPoint arg2); // void invoke(const QString arg1,const QString arg2); protected: jobject invocation; private: static JavaSlotFactory * _factory; }; class JavaSlotFactory { public: JavaSlotFactory(); virtual ~JavaSlotFactory() {}; virtual JavaSlot * createJavaSlot(JNIEnv * env, jobject receiver, jstring slot); }; class JavaSignal: public QObject { Q_OBJECT public: JavaSignal(); ~JavaSignal(); void emitArgs(jobjectArray args); signals: void signalJava(jobjectArray); }; #endif --Boundary-00=_fx0J+noOIzIE77N--
    =