19#ifndef KIVIO_PLUGINMANAGER_H
20#define KIVIO_PLUGINMANAGER_H
23#include "kivio_mousetool.h"
24#include <koffice_export.h>
31 class KIVIO_EXPORT PluginManager : public TQObject {
35 PluginManager(KivioView* parent, const char* name = 0);
38 bool delegateEvent(TQEvent* e);
40 void setEventDelegationEnabled( bool enabled) { m_delegateEvents = enabled; }
41 bool eventDelegationEnabled() const { return m_delegateEvents; }
62 bool m_delegateEvents;
void activate(Kivio::MouseTool *tool) Makes.
void setDefaultTool(Kivio::MouseTool *tool) Make.
Kivio::MouseTool * activeTool() Returns the tool that is in use.
Kivio::MouseTool * defaultTool() Returns the default tool.
void activateDefaultTool() Makes the default tool active.
This class provides the base for all plugins in Kivio.
|