Add CalendarSystem to the qmlRegisterType<>()

This commit is contained in:
Giorgos Tsiapaliwkas 2012-02-01 11:44:48 +02:00
parent 31cc381819
commit 7269926c13

View File

@ -21,12 +21,14 @@
#include "localebindingsplugin.h"
#include <QtDeclarative/qdeclarative.h>
#include "locale.h"
#include "calendarsystem.h"
void LocaleBindingsPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.plasma.locale"));
qmlRegisterType<Locale>(uri, 0, 1, "Locale");
qmlRegisterType<CalendarSystem>(uri, 0, 1, "CalendarSystem");
}
#include "localebindingsplugin.moc"