2
* Copyright (C) 2014 Canonical Ltd
4
* This file is part of Ubuntu Clock App
6
* Ubuntu Clock App is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 3 as
8
* published by the Free Software Foundation.
10
* Ubuntu Clock App is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
#include <QtQml/QQmlContext>
24
void BackendPlugin::registerTypes(const char *uri)
26
Q_ASSERT(uri == QLatin1String("DateTime"));
28
qmlRegisterType<DateTime>(uri, 1, 0, "DateTime");
31
void BackendPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
33
QQmlExtensionPlugin::initializeEngine(engine, uri);