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

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

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

revision 1.2 by mark, Fri Aug 12 16:11:31 2005 UTC revision 1.3 by smarothy, Tue Aug 16 23:22:09 2005 UTC
# Line 71  public class QtMenuItemPeer extends QtMe Line 71  public class QtMenuItemPeer extends QtMe
71    
72    public native void dispose();    public native void dispose();
73    
74    private void fireClick()    private void fireClick(int modifiers)
75    {    {
76      ActionEvent e = new ActionEvent(owner,      ActionEvent e = new ActionEvent(owner,
77                                      ActionEvent.ACTION_PERFORMED,                                      ActionEvent.ACTION_PERFORMED,
78                                      ((MenuItem)owner).getActionCommand());                                      ((MenuItem)owner).getActionCommand(),
79      QtToolkit.eventQueue.postEvent(e);                                      System.currentTimeMillis(),
80                                        (modifiers & 0x2FF));
81        toolkit.eventQueue.postEvent(e);
82    }    }
83    
84    // ************ Public methods *********************    // ************ Public methods *********************
# Line 98  public class QtMenuItemPeer extends QtMe Line 100  public class QtMenuItemPeer extends QtMe
100    public native void setState(boolean state);    public native void setState(boolean state);
101  }  }
102    
103    
104    
105    
106    
107    
108    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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