Initial release
This commit is contained in:
commit
f5ac3d5ffd
46 changed files with 60738 additions and 0 deletions
9
weatherinfo/weatherplugin.cpp
Normal file
9
weatherinfo/weatherplugin.cpp
Normal file
|
@ -0,0 +1,9 @@
|
|||
#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");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue