contructor with optional parent
- Parameters:
-
| img | : image to store for undo framework |
| view | : current view (for updating in undo events) |
| parent | : widget parent ( default = 0 ) |
Definition at line 46 of file aicommand.cpp.
00047 : QUndoCommand( parent ), m_id(-1)
00048 {
00049 image = img;
00050 m_view = view;
00051 this->setText( QTime::currentTime().toString() );
00052
00053 }