com.trolltech.qt.gui
Class QMoveEvent

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.core.QEvent
              extended by com.trolltech.qt.gui.QMoveEvent
All Implemented Interfaces:
QtJambiInterface

public class QMoveEvent
extends QEvent

The QMoveEvent class contains event parameters for move events.

Move events are sent to widgets that have been moved to a new position relative to their parent.

The event handler QWidget::moveEvent() receives move events.

See Also:
QWidget::move, QWidget::setGeometry

Nested Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.core.QEvent
QEvent.Type
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I>
 
Constructor Summary
QMoveEvent(QPoint pos, QPoint oldPos)
          Constructs a move event with the new and old widget positions, pos and oldPos respectively.
 
Method Summary
static QMoveEvent fromNativePointer(QNativePointer nativePointer)
          This function returns the QMoveEvent instance pointed to by nativePointer
protected  QPoint oldp()
          This method is used internally by Qt Jambi.
 QPoint oldPos()
          Returns the old position of the widget.
protected  QPoint p()
          This method is used internally by Qt Jambi.
 QPoint pos()
          Returns the new position of the widget.
protected  void setOldp(QPoint oldp)
          This method is used internally by Qt Jambi.
protected  void setP(QPoint p)
          This method is used internally by Qt Jambi.
 
Methods inherited from class com.trolltech.qt.core.QEvent
accept, ignore, isAccepted, setAccepted, setT, spontaneous, t, type
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Constructor Detail

QMoveEvent

public QMoveEvent(QPoint pos,
                  QPoint oldPos)

Constructs a move event with the new and old widget positions, pos and oldPos respectively.

Method Detail

oldPos

public final QPoint oldPos()

Returns the old position of the widget.


pos

public final QPoint pos()

Returns the new position of the widget. This excludes the window frame for top level widgets.


setOldp

protected final void setOldp(QPoint oldp)

This method is used internally by Qt Jambi. Do not use it in your applications.

See Also:
oldp

oldp

protected final QPoint oldp()

This method is used internally by Qt Jambi. Do not use it in your applications.

See Also:
setOldp

setP

protected final void setP(QPoint p)

This method is used internally by Qt Jambi. Do not use it in your applications.

See Also:
p

p

protected final QPoint p()

This method is used internally by Qt Jambi. Do not use it in your applications.

See Also:
setP

fromNativePointer

public static QMoveEvent fromNativePointer(QNativePointer nativePointer)
This function returns the QMoveEvent instance pointed to by nativePointer

Parameters:
nativePointer - the QNativePointer of which object should be returned.