Commit aca81f2c authored by Thomas Zander's avatar Thomas Zander
Browse files

Provide simpler constuctor

svn path=/trunk/koffice/; revision=546339
parent 397c3826
......@@ -53,6 +53,12 @@ KoInteractionTool::KoInteractionTool( const QString & name, const QString & id,
{
}
KoInteractionTool::KoInteractionTool( KoCanvasBase *canvas )
: KoTool( "", "", "", canvas )
, m_currentStrategy( 0 )
{
}
KoInteractionTool::~KoInteractionTool()
{
delete m_currentStrategy;
......
......@@ -48,6 +48,7 @@ public:
* @param canvas the canvas this tool will be working for.
*/
KoInteractionTool(const QString & name, const QString & id, const QString & type, KoCanvasBase *canvas );
KoInteractionTool( KoCanvasBase *canvas );
virtual ~KoInteractionTool();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment