/[classpath]/classpath/native/jni/qt-peer/eventmethods.h
ViewVC logotype

Diff of /classpath/native/jni/qt-peer/eventmethods.h

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

revision 1.1 by smarothy, Tue Aug 16 23:22:09 2005 UTC revision 1.2 by smarothy, Sun Aug 21 00:19:49 2005 UTC
# Line 186  protected: Line 186  protected:
186    void moveEvent( QMoveEvent *e )    void moveEvent( QMoveEvent *e )
187    {    {
188      PARENT::moveEvent(e);      PARENT::moveEvent(e);
189      callVoidMethod("moveEvent");      callMouseMethod("moveEvent", e->pos().x(), e->pos().y(),
190                        e->oldPos().x(), e->oldPos().y());
191    }    }
192    
193    void resizeEvent( QResizeEvent *e )    void resizeEvent( QResizeEvent *e )
# Line 228  protected: Line 229  protected:
229    
230          // call QtComponentPeer.paintEvent()          // call QtComponentPeer.paintEvent()
231          jmethodID paintEventID = env->GetMethodID( componentCls,          jmethodID paintEventID = env->GetMethodID( componentCls,
232                                                "paint",                                                     "paint",
233                                                     "(Ljava/awt/Graphics;)V" );                                                     "(Ljava/awt/Graphics;)V" );
234          env->CallVoidMethod( target, paintEventID, graphics );          env->CallVoidMethod( target, paintEventID, graphics );
235          env->DeleteLocalRef( cls );          env->DeleteLocalRef( cls );

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

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