Commit 968d2e59 authored by Volker Krause's avatar Volker Krause
Browse files

Make Line::Mode directly usable as a method argument from QML

parent 3a1ab422
Pipeline #95382 passed with stage
in 1 minute and 35 seconds
...@@ -34,6 +34,7 @@ void KPublicTransportQmlPlugin::registerTypes(const char*) ...@@ -34,6 +34,7 @@ void KPublicTransportQmlPlugin::registerTypes(const char*)
{ {
qRegisterMetaType<KPublicTransport::Equipment>(); qRegisterMetaType<KPublicTransport::Equipment>();
qRegisterMetaType<KPublicTransport::Line>(); qRegisterMetaType<KPublicTransport::Line>();
qRegisterMetaType<KPublicTransport::Line::Mode>();
qRegisterMetaType<KPublicTransport::LoadInfo>(); qRegisterMetaType<KPublicTransport::LoadInfo>();
qRegisterMetaType<KPublicTransport::Location>(); qRegisterMetaType<KPublicTransport::Location>();
qRegisterMetaType<KPublicTransport::Platform>(); qRegisterMetaType<KPublicTransport::Platform>();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment