21#ifndef __VIMAGETOOL_H__
22#define __VIMAGETOOL_H__
27#include <commands/vcommand.h>
33class VImageTool : public VTool
36 VImageTool( KarbonView * view );
42 virtual void setup( TDEActionCollection *collection );
43 virtual TQString uiname() { return i18n( "Image Tool" ); }
48 class VInsertImageCmd : public VCommand
51 VInsertImageCmd( VDocument* doc, const TQString& name, VImage *image, KoPoint pos );
52 virtual ~VInsertImageCmd() {}
virtual void unexecute() Unexecutes the command.
TQString name() const Returns the name of the command.
virtual bool changesSelection() const Returns if the command changes the actual document selection.
virtual void execute()=0 Executes the command.
|