21#ifndef __VSTROKECMD_H__
22#define __VSTROKECMD_H__
28#include <tqvaluevector.h>
29#include <koffice_export.h>
32class KARBONCOMMAND_EXPORT VStrokeCmd : public VCommand
35 VStrokeCmd( VDocument *doc, const VStroke *, const TQString& icon = "14_action" );
36 VStrokeCmd( VDocument *doc, VGradient * );
37 VStrokeCmd( VDocument *doc, VPattern * );
38 VStrokeCmd( VDocument *doc, const VColor & );
39 VStrokeCmd( VDocument *doc, double );
40 VStrokeCmd( VDocument *doc, const TQValueList<float>& );
41 virtual ~VStrokeCmd();
48 virtual void changeStroke( const VColor & );
49 virtual VSelection* getSelection() const { return m_selection; }
63 VSelection *m_selection;
65 TQValueVector<VStroke> m_oldstrokes;
The base class for all karbon commands.
virtual void unexecute() Unexecutes the command.
virtual bool changesSelection() const Returns if the command changes the actual document selection.
virtual void execute()=0 Executes the command.
|