Commit b56a39b9 authored by Volker Krause's avatar Volker Krause
Browse files

Add support for reading array properties

parent 3f039209
Pipeline #182639 passed with stage
in 1 minute and 25 seconds
......@@ -79,6 +79,11 @@ public:
{
return Jni::converter<PropType>::convert(get());
}
template <typename RetT = PropType, typename = std::enable_if_t<Jni::is_array<PropType>::value, RetT>>
inline operator PropType() const
{
return PropType(get());
}
inline Property& operator=(const QAndroidJniObject &value)
{
......
Supports Markdown
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