Commit 57202a9d authored by Pekka Vuorela's avatar Pekka Vuorela

Rename pluginplugin as just plugin

parent 3c2afc78
......@@ -6,11 +6,10 @@ CONFIG += qt plugin
uri = com.jolla.connection
SOURCES += \
connectionagentplugin_plugin.cpp \
plugin.cpp \
declarativeconnectionagent.cpp
HEADERS += \
connectionagentplugin_plugin.h \
declarativeconnectionagent.h
DBUS_INTERFACES = connectiond_interface
......
/****************************************************************************
**
** Copyright (C) 2013 Jolla Ltd
** Contact: lorn.potter@gmail.com
**
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
****************************************************************************/
#include "connectionagentplugin_plugin.h"
#include "declarativeconnectionagent.h"
void ConnectionagentpluginPlugin::registerTypes(const char *uri)
{
// @uri com.jolla.connection
qmlRegisterType<DeclarativeConnectionAgent>(uri, 1, 0, "ConnectionAgent");
}
......@@ -14,15 +14,15 @@
**
****************************************************************************/
#ifndef CONNECTIONAGENTPLUGIN_PLUGIN_H
#define CONNECTIONAGENTPLUGIN_PLUGIN_H
#include "declarativeconnectionagent.h"
#include <QtPlugin>
#include <QtQml>
#include <QQmlEngine>
#include <QQmlExtensionPlugin>
class ConnectionagentpluginPlugin : public QQmlExtensionPlugin
class ConnectionagentPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
......@@ -32,5 +32,10 @@ public:
};
#endif // CONNECTIONAGENTPLUGIN_PLUGIN_H
void ConnectionagentPlugin::registerTypes(const char *uri)
{
// @uri com.jolla.connection
qmlRegisterType<DeclarativeConnectionAgent>(uri, 1, 0, "ConnectionAgent");
}
#include "plugin.moc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment