qmlmirror/weatherinfo/weatherplugin.cpp
Oscar Andreasson f5ac3d5ffd Initial release
2015-05-27 16:14:00 -07:00

9 lines
237 B
C++

#include "appmodel.h"
#include "weatherplugin.h"
#include <qqml.h>
void WeatherPlugin::registerTypes(const char *uri)
{
qmlRegisterType<WeatherData>(uri, 1, 0, "WeatherData");
qmlRegisterType<AppModel>(uri, 1, 0, "AppModel");
}