kivio

Kivio::MouseTool Class Referenceabstract

#include <kivio_mousetool.h>

Inheritance diagram for Kivio::MouseTool:
Kivio::Plugin Kivio::AddStencilTool

Public Slots

virtual void setActivated (bool)=0
virtual void applyToolAction (TQPtrList< KivioStencil > *stencils)

Signals

void activated (Kivio::MouseTool *)

Public Member Functions

 MouseTool (KivioView *parent=0, const char *name=0)
virtual bool processEvent (TQEvent *e)=0
virtual void applyToolAction (KivioStencil *, const KoPoint &)
Public Member Functions inherited from Kivio::Plugin
 Plugin (KivioView *parent=0, const char *name=0)
KivioView * view ()

Detailed Description

Baseclass for mouse tools (like eg the select tool).

Definition at line 32 of file kivio_mousetool.h.

Constructor & Destructor Documentation

◆ MouseTool()

Kivio::MouseTool::MouseTool ( KivioView * parent = 0,
const char * name = 0 )

Definition at line 24 of file kivio_mousetool.cpp.

◆ ~MouseTool()

Kivio::MouseTool::~MouseTool ( )

Definition at line 29 of file kivio_mousetool.cpp.

Member Function Documentation

◆ activated

void Kivio::MouseTool::activated ( Kivio::MouseTool * )
signal

this should be emited when the tool wants to be active

◆ applyToolAction() [1/2]

virtual void Kivio::MouseTool::applyToolAction ( KivioStencil * ,
const KoPoint &  )
inlinevirtual

Definition at line 48 of file kivio_mousetool.h.

◆ applyToolAction [2/2]

virtual void Kivio::MouseTool::applyToolAction ( TQPtrList< KivioStencil > * stencils)
inlinevirtualslot

This function should apply a change to stencils done by the tool.

Definition at line 47 of file kivio_mousetool.h.


The documentation for this class was generated from the following files: