[Kde-java] [PATCH] Make juic work again

Dominique Devriese dominique.devriese at student.kuleuven.ac.be
Thu Apr 8 01:05:56 CEST 2004


Marco Ladermann writes:

> Hi Domi, Am Samstag, 3. April 2004 23:27 schrieb Dominique Devriese:

>> I'm attaching my test ui file, so you can test it as well.

> As you know, I made some changes to the stylesheets and commited
> them to HEAD (need to figure out, how to commit to
> KDE_3_2_BRANCH. Damned cvs ...), that allow me to get your example
> compiled. But I can't run the example because the koala library
> dumps. I'm not sure if this stems form my usage of jdk 1.5.0-beta,
> but if I change the usage of KLineEdit to QLineEdit, everything
> works fine. If you still get compile error could you send me the
> error messages you receive?

Are you sure you committed all your modifications ?  Cause the java
files I get still don't contain the declarations of the layout
instance variables:

  domi: ~/src/test/kdebindings/testjuic> diff MacroWizardBase.java
  /tmp/MacroWizardBase.java
  --- MacroWizardBase.java        2004-04-08 01:00:43.000000000 +0200
  +++ /tmp/MacroWizardBase.java   2004-04-08 01:01:33.000000000 +0200
  @@ -7,7 +7,7 @@
    * DO NOT EDIT! File will be overidden
    *
    * Author:
  - * Date:   2004-04-08+02:00
  + * Date:   2004-04-07+02:00
    * Comment:
    */

  @@ -29,13 +29,18 @@
   public class MacroWizardBase extends QWizard {

       protected QWidget mpgiven = null;
  +    protected QVBoxLayout mpgivenVbox = null;
       protected QLabel TextLabel1 = null;
       protected QWidget mpfinal = null;
  +    protected QVBoxLayout mpfinalVbox = null;
       protected QLabel TextLabel2 = null;
       protected QWidget mpname = null;
  +    protected QVBoxLayout mpnameVbox = null;
       protected QLabel TextLabel1_2 = null;
  +    protected QHBoxLayout Layout2Hbox = null;
       protected QLabel TextLabel2_2 = null;
       protected KLineEdit KLineEdit2 = null;
  +    protected QHBoxLayout Layout1Hbox = null;
       protected QLabel TextLabel2_2_2 = null;
       protected KLineEdit KLineEdit1 = null;

Maybe something is wrong with my installation, but I have checked, and
I don't think so.

Thanks for the help.
cheers
domi


More information about the Kde-java mailing list