Public Member Functions | Private Attributes

MoveItemsCommand< T > Class Template Reference

#include <commands.h>

List of all members.

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

Detailed Description

template<typename T>
class MoveItemsCommand< T >

Definition at line 459 of file commands.h.


Constructor & Destructor Documentation

template<typename T>
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.


Member Function Documentation

template<typename T>
void MoveItemsCommand< T >::redo (  )  [inline]
template<typename T>
void MoveItemsCommand< T >::undo (  )  [inline]

Member Data Documentation

template<typename T>
QList<T *> MoveItemsCommand< T >::m_itemList [private]

Definition at line 506 of file commands.h.

Referenced by MoveItemsCommand< T >::redo(), and MoveItemsCommand< T >::undo().

template<typename T>
QVector<QPointF> MoveItemsCommand< T >::m_newPositions [private]
template<typename T>
QVector<QPointF> MoveItemsCommand< T >::m_origPositions [private]

Definition at line 507 of file commands.h.

Referenced by MoveItemsCommand< T >::undo().


The documentation for this class was generated from the following file: