#include <commands.h>
Public Member Functions | |
MoveItemsCommand (const QList< T * > &items, const QVector< QPointF > &origPos) | |
void | redo () |
void | undo () |
Private Attributes | |
QList< T * > | m_itemList |
QVector< QPointF > | m_newPositions |
QVector< QPointF > | m_origPositions |
Definition at line 459 of file commands.h.
MoveItemsCommand< T >::MoveItemsCommand | ( | const QList< T * > & | items, | |
const QVector< QPointF > & | origPos | |||
) | [inline] |
Definition at line 462 of file commands.h.
References MoveItemsCommand< T >::m_newPositions.
void MoveItemsCommand< T >::redo | ( | ) | [inline] |
Definition at line 489 of file commands.h.
References MoveItemsCommand< T >::m_itemList, and MoveItemsCommand< T >::m_newPositions.
void MoveItemsCommand< T >::undo | ( | ) | [inline] |
Definition at line 473 of file commands.h.
References MoveItemsCommand< T >::m_itemList, and MoveItemsCommand< T >::m_origPositions.
QList<T *> MoveItemsCommand< T >::m_itemList [private] |
Definition at line 506 of file commands.h.
Referenced by MoveItemsCommand< T >::redo(), and MoveItemsCommand< T >::undo().
QVector<QPointF> MoveItemsCommand< T >::m_newPositions [private] |
Definition at line 507 of file commands.h.
Referenced by MoveItemsCommand< T >::MoveItemsCommand(), and MoveItemsCommand< T >::redo().
QVector<QPointF> MoveItemsCommand< T >::m_origPositions [private] |
Definition at line 507 of file commands.h.
Referenced by MoveItemsCommand< T >::undo().