kivio

Kivio::PluginManager Class Reference

#include <kivio_pluginmanager.h>

Inherits TQObject.

Public Slots

void activateDefaultTool ()
 
void activate (Kivio::MouseTool *tool)
 
void setDefaultTool (Kivio::MouseTool *tool)
 

Public Member Functions

 PluginManager (KivioView *parent, const char *name=0)
 
bool delegateEvent (TQEvent *e)
 
void setEventDelegationEnabled (bool enabled)
 
bool eventDelegationEnabled () const
 
Kivio::MouseTool * activeTool ()
 
Kivio::MouseTool * defaultTool ()
 
Kivio::Plugin * findPlugin (const TQString &name)
 

Detailed Description

This class manages the plugins.

Definition at line 31 of file kivio_pluginmanager.h.

Constructor & Destructor Documentation

◆ PluginManager()

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

Definition at line 27 of file kivio_pluginmanager.cpp.

◆ ~PluginManager()

Kivio::PluginManager::~PluginManager ( )

Definition at line 34 of file kivio_pluginmanager.cpp.

Member Function Documentation

◆ activate

void Kivio::PluginManager::activate ( Kivio::MouseTool *  tool)
slot

Makes.

Parameters
toolactive.

Definition at line 65 of file kivio_pluginmanager.cpp.

◆ activateDefaultTool

void Kivio::PluginManager::activateDefaultTool ( )
slot

Makes the default tool active.

Definition at line 57 of file kivio_pluginmanager.cpp.

◆ activeTool()

Kivio::MouseTool * Kivio::PluginManager::activeTool ( )

Returns the tool that is in use.

Definition at line 47 of file kivio_pluginmanager.cpp.

◆ defaultTool()

Kivio::MouseTool * Kivio::PluginManager::defaultTool ( )

Returns the default tool.

Definition at line 52 of file kivio_pluginmanager.cpp.

◆ delegateEvent()

bool Kivio::PluginManager::delegateEvent ( TQEvent *  e)

Definition at line 38 of file kivio_pluginmanager.cpp.

◆ eventDelegationEnabled()

bool Kivio::PluginManager::eventDelegationEnabled ( ) const
inline

Definition at line 41 of file kivio_pluginmanager.h.

◆ findPlugin()

Kivio::Plugin * Kivio::PluginManager::findPlugin ( const TQString &  name)

Definition at line 84 of file kivio_pluginmanager.cpp.

◆ setDefaultTool

void Kivio::PluginManager::setDefaultTool ( Kivio::MouseTool *  tool)
slot

Make.

Parameters
toolthe default.

Definition at line 78 of file kivio_pluginmanager.cpp.

◆ setEventDelegationEnabled()

void Kivio::PluginManager::setEventDelegationEnabled ( bool  enabled)
inline

Definition at line 40 of file kivio_pluginmanager.h.


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