Plugin.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3
4
This file is part of the TerraLib - a Framework for building GIS enabled
5
applications.
6
7
TerraLib is free software: you can redistribute it and/or modify
8
it under the terms of the GNU Lesser General Public License as published by
9
the Free Software Foundation, either version 3 of the License,
10
or (at your option) any later version.
11
12
TerraLib is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU Lesser General Public License for more details.
16
17
You should have received a copy of the GNU Lesser General Public License
18
along with TerraLib. See COPYING. If not, write to
19
TerraLib Team at <terralib-team@terralib.org>.
20
*/
21
22
/*!
23
\file terralib/ceditor/Plugin.h
24
25
\brief Plugin interface for dynamic loading of the Code Editor.
26
*/
27
28
// TerraLib
29
#include "../core/plugin/CppPlugin.h"
30
// QT
31
#include <QObject>
32
33
class
QAction;
34
35
namespace
te
36
{
37
namespace
ce
38
{
39
class
CodeEditorDialog;
40
class
Plugin
:
public
QObject,
public
te::core::CppPlugin
41
{
42
Q_OBJECT
43
44
public
:
45
Plugin
(
const
te::core::PluginInfo
& pluginInfo);
46
47
~Plugin
();
48
49
void
startup
();
50
51
void
shutdown
();
52
53
protected
slots
:
54
void
onCodeEditorActionClicked
(
bool
);
55
56
private
:
57
QAction*
m_codeEditorAction
;
58
te::ce::CodeEditorDialog
*
m_codeEditorDialog
;
59
};
60
}
61
}
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
te::ce::Plugin::startup
void startup()
This method will be called by applications to startup some plugin's functionality.
te::ce::Plugin::onCodeEditorActionClicked
void onCodeEditorActionClicked(bool)
te::ce::Plugin::m_codeEditorAction
QAction * m_codeEditorAction
Definition:
Plugin.h:57
te::ce::Plugin
Definition:
Plugin.h:41
te::ce::Plugin::shutdown
void shutdown()
This method will be called by applicatons to shutdown plugin's functionality.
te::core::PluginInfo
Basic information about a plugin.
Definition:
PluginInfo.h:64
slots
#define slots
Definition:
VirtualMachine.h:48
te::ce::Plugin::Plugin
Plugin(const te::core::PluginInfo &pluginInfo)
te::core::CppPlugin
The base class for C++ plugins.
Definition:
CppPlugin.h:47
te::ce::CodeEditorDialog
Definition:
CodeEditorDialog.h:47
te::ce::Plugin::m_codeEditorDialog
te::ce::CodeEditorDialog * m_codeEditorDialog
Definition:
Plugin.h:58
te::ce::Plugin::~Plugin
~Plugin()
git_release
src
terralib
ceditor
Plugin.h
Generated on Wed Feb 2 2022 10:37:57 for TerraLib by
1.8.20