новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenBoard/src/domain/UBGraphicsTextItemUndoComma...

31 lines
609 B

/*
* UBGraphicsTextItemUndoCommand.h
*
* Created on: July 7, 2009
* Author: Jerome
*/
#ifndef UBGRAPHICSTEXTITEMUNDOCOMMAND_H_
#define UBGRAPHICSTEXTITEMUNDOCOMMAND_H_
#include <QtGui>
#include "UBGraphicsTextItem.h"
class UBGraphicsTextItemUndoCommand: public QUndoCommand
{
public:
UBGraphicsTextItemUndoCommand(UBGraphicsTextItem *textItem);
virtual ~UBGraphicsTextItemUndoCommand();
protected:
virtual void undo();
virtual void redo();
private:
QPointer<UBGraphicsTextItem> mTextItem;
};
#endif /* UBGRAPHICSTEXTITEMUNDOCOMMAND_H_ */