/[classpath]/classpath/gnu/java/awt/peer/qt/MainQtThread.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/qt/MainQtThread.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Tue Aug 16 16:22:36 2005 UTC revision 1.1.2.2 by gnu_andrew, Sat Sep 10 15:31:38 2005 UTC
# Line 50  public class MainQtThread extends Thread Line 50  public class MainQtThread extends Thread
50    long mainThreadInterface;    long mainThreadInterface;
51    String theme;    String theme;
52    private boolean running;    private boolean running;
53      private boolean doublebuffer;
54    
55    public MainQtThread( String theme )    public MainQtThread( String theme, boolean doublebuffer )
56    {    {
57      this.theme = theme;      this.theme = theme;
58        this.doublebuffer = doublebuffer;
59      running = false;      running = false;
60    }    }
61    
# Line 65  public class MainQtThread extends Thread Line 67  public class MainQtThread extends Thread
67    /**    /**
68     * Creates the QApplication     * Creates the QApplication
69     */     */
70    public native long init(String theme);    public native long init(String theme, boolean doublebuffer);
71    
72    /**    /**
73     * Runs the QApplication (doesn't return.)     * Runs the QApplication (doesn't return.)
# Line 74  public class MainQtThread extends Thread Line 76  public class MainQtThread extends Thread
76    
77    public void run()    public void run()
78    {    {
79      QApplicationPointer = init(theme);      QApplicationPointer = init(theme, doublebuffer);
80      running = true;      running = true;
81      exec(QApplicationPointer);      exec(QApplicationPointer);
82    }    }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26