21#include "vclipartcmd.h"
23#include "vselection.h"
25VClipartCmd::VClipartCmd( VDocument* doc, const TQString& name, VObject* clipart )
26 : VCommand( doc, name ), m_clipart( clipart->clone() ), m_executed( false )
41 document()->append( m_clipart );
42 document()->selection()->clear();
43 document()->selection()->append( m_clipart );
52VClipartCmd::unexecute()
57 document()->selection()->take( *m_clipart );
The base class for all karbon commands.
All non-visual, static doc info is in here.
The base class for all karbon objects.
@ deleted deleted, nearly dead
@ normal visible, not active
|