21 lines
376 B
C++
21 lines
376 B
C++
|
|
#include "helloworldplugin.h"
|
||
|
|
|
||
|
|
#include "helloworldapplication.h"
|
||
|
|
|
||
|
|
HelloWorldPlugin::HelloWorldPlugin(QObject *parent) :
|
||
|
|
WebPlugin(parent)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
QString HelloWorldPlugin::pluginName() const
|
||
|
|
{
|
||
|
|
return QStringLiteral("helloworld");
|
||
|
|
}
|
||
|
|
|
||
|
|
WebApplication *HelloWorldPlugin::createApplication(const QJsonObject &config) const
|
||
|
|
{
|
||
|
|
return new HelloWorldApplication(config);
|
||
|
|
}
|
||
|
|
|