dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
pfdqmlplugin.cpp
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful, but
8
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
10
* for more details.
11
*
12
* You should have received a copy of the GNU General Public License along
13
* with this program; if not, see <http://www.gnu.org/licenses/>
14
*/
15
16
#include "
pfdqmlplugin.h
"
17
#include "
pfdqmlgadgetfactory.h
"
18
#include <QDebug>
19
#include <QtPlugin>
20
#include <QStringList>
21
#include <
extensionsystem/pluginmanager.h
>
22
23
PfdQmlPlugin::PfdQmlPlugin()
24
{
25
// Do nothing
26
}
27
28
PfdQmlPlugin::~PfdQmlPlugin()
29
{
30
// Do nothing
31
}
32
33
bool
PfdQmlPlugin::initialize(
const
QStringList &args, QString *errMsg)
34
{
35
Q_UNUSED(args);
36
Q_UNUSED(errMsg);
37
mf =
new
PfdQmlGadgetFactory
(
this
);
38
addAutoReleasedObject
(mf);
39
40
return
true
;
41
}
42
43
void
PfdQmlPlugin::extensionsInitialized()
44
{
45
// Do nothing
46
}
47
48
void
PfdQmlPlugin::shutdown()
49
{
50
// Do nothing
51
}
pluginmanager.h
PfdQmlGadgetFactory
Definition:
pfdqmlgadgetfactory.h:28
ExtensionSystem::IPlugin::addAutoReleasedObject
void addAutoReleasedObject(QObject *obj)
Definition:
iplugin.cpp:306
pfdqmlplugin.h
pfdqmlgadgetfactory.h
ground
gcs
src
plugins
pfdqml
pfdqmlplugin.cpp
Generated by
1.8.6