27 #include "../../../../common/Config.h"
28 #include "../../../../common/Translator.h"
29 #include "../../../../common/Logger.h"
30 #include "../../../af/ApplicationController.h"
31 #include "../../../af/Utils.h"
42 : QObject(), te::plugin::
Plugin(pluginInfo),
68 m_showWindow =
new QAction(QIcon::fromTheme(
"tools-terralib4converter"),
"TerraLib 4 Converter...", mnu);
69 m_showWindow->setObjectName(
"Tools.TerraLib 4 Converter");
70 mnu->insertAction(act, m_showWindow);
73 connect(m_showWindow, SIGNAL(triggered()), SLOT(showWindow()));
90 m_initialized =
false;
98 if(dlg.exec() != QDialog::Accepted)
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
Plugin(const te::plugin::PluginInfo &pluginInfo)
void shutdown()
Do nothing! Just set plugin as stopped.
#define TE_TR(message)
It marks a string in order to get translated.
#define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
TEQTAFEXPORT void AddActionToCustomToolbars(QAction *act)
Check QSettings for existance of act and adds it if necessary.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
~Plugin()
Virtual destructor.
void startup()
Do nothing! Just set plugin as started.
The basic information about a plugin.