qmlmirror/weatherinfo/weatherplugin.cpp
Oscar Andreasson 15dec86c32 Adding MPL 2.0 licenses to all new files
Added Main.qml
Fixed Transport.qml a bit
Some other minor work
2015-07-01 21:12:33 -07:00

17 lines
489 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015 Oscar Andreasson
*/
#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");
}