Plugin Class Reference

#include <Plugin.h>

Inheritance diagram for Plugin:
QObject te::plugin::Plugin QWidget te::plugin::AbstractPlugin

Public Member Functions

const PluginInfo & getInfo () const
 It return the information associated to the plugin. More...
 
bool isStarted () const
 It tells if the plugin was started or not. More...
 
bool operator< (const AbstractPlugin &rhs) const
 This overloaded operator can be used to index the plugin in a set. More...
 
 Plugin (const te::plugin::PluginInfo &pluginInfo)
 
 Plugin (QWidget *parent=0)
 
void shutdown ()
 Do nothing! Just set plugin as stopped. More...
 
void startup ()
 Do nothing! Just set plugin as started. More...
 
 ~Plugin ()
 Virtual destructor. More...
 
 ~Plugin ()
 Virtual destructor. More...
 

Protected Slots

void showWindow ()
 

Protected Member Functions

void createGUI ()
 

Protected Attributes

te::qt::widgets::HelpPushButtonm_help_btn
 
bool m_initialized
 A flag that indicates if the plugin was started or not. More...
 
PluginInfo m_pluginInfo
 Information about the plugin. More...
 
QAction * m_showWindow
 

Detailed Description

Definition at line 44 of file examples/help/Plugin.h.

Constructor & Destructor Documentation

Plugin::~Plugin ( )
virtual

Virtual destructor.

Reimplemented from te::plugin::Plugin.

Definition at line 22 of file examples/help/Plugin.cpp.

Referenced by Plugin().

Plugin::Plugin ( const te::plugin::PluginInfo pluginInfo)

Definition at line 37 of file src/terralib/mnt/plugin/Plugin.cpp.

References ~Plugin().

Plugin::~Plugin ( )
virtual

Virtual destructor.

Reimplemented from te::plugin::Plugin.

Member Function Documentation

void Plugin::createGUI ( )
protected

Definition at line 26 of file examples/help/Plugin.cpp.

References m_help_btn.

const te::plugin::PluginInfo & Plugin::getInfo ( ) const
virtualinherited

It return the information associated to the plugin.

Returns
The information associated to the plugin.

Implements te::plugin::AbstractPlugin.

Definition at line 29 of file attic/src/plugin/Plugin.cpp.

References te::plugin::Plugin::m_pluginInfo.

bool Plugin::isStarted ( ) const
virtualinherited

It tells if the plugin was started or not.

Returns
True if the plugin is started and false otherwise (it is shutdown).

Implements te::plugin::AbstractPlugin.

Definition at line 34 of file attic/src/plugin/Plugin.cpp.

References te::plugin::Plugin::m_initialized.

bool te::plugin::AbstractPlugin::operator< ( const AbstractPlugin rhs) const
inherited

This overloaded operator can be used to index the plugin in a set.

Parameters
rhsThe right-hand-side plugin.
Returns
True if this plugin name is lexcographical less than the rhs plugin name.

Definition at line 38 of file AbstractPlugin.cpp.

References te::plugin::AbstractPlugin::getInfo().

void Plugin::showWindow ( )
protectedslot
void Plugin::shutdown ( )
virtual

Do nothing! Just set plugin as stopped.

Reimplemented from te::plugin::Plugin.

Definition at line 54 of file src/terralib/mnt/plugin/Plugin.cpp.

References te::plugin::Plugin::m_initialized.

void Plugin::startup ( )
virtual

Do nothing! Just set plugin as started.

Reimplemented from te::plugin::Plugin.

Definition at line 46 of file src/terralib/mnt/plugin/Plugin.cpp.

References te::plugin::Plugin::m_initialized.

Member Data Documentation

te::qt::widgets::HelpPushButton* Plugin::m_help_btn
protected

Definition at line 58 of file examples/help/Plugin.h.

Referenced by createGUI(), and Plugin().

PluginInfo te::plugin::Plugin::m_pluginInfo
protectedinherited

Information about the plugin.

Definition at line 78 of file attic/src/plugin/Plugin.h.

Referenced by te::plugin::Plugin::getInfo(), and te::sqlite::Module::startup().

QAction* Plugin::m_showWindow
protected

Definition at line 33 of file src/terralib/mnt/plugin/Plugin.cpp.


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