Navigation Menu

Skip to content

Commit

Permalink
Rename pluginplugin as just plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Jul 7, 2015
1 parent 3c2afc7 commit 57202a9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 30 deletions.
3 changes: 1 addition & 2 deletions connectionagentplugin/connectionagentplugin.pro
Expand Up @@ -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
Expand Down
24 changes: 0 additions & 24 deletions connectionagentplugin/connectionagentplugin_plugin.cpp

This file was deleted.

Expand Up @@ -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")
Expand All @@ -32,5 +32,10 @@ class ConnectionagentpluginPlugin : public QQmlExtensionPlugin

};

#endif // CONNECTIONAGENTPLUGIN_PLUGIN_H
void ConnectionagentPlugin::registerTypes(const char *uri)
{
// @uri com.jolla.connection
qmlRegisterType<DeclarativeConnectionAgent>(uri, 1, 0, "ConnectionAgent");
}

#include "plugin.moc"

0 comments on commit 57202a9

Please sign in to comment.