TypeConversion.hpp
1 #pragma once
2 #include <Process/TimeValue.hpp>
3 
4 #include <ossia/editor/scenario/time_value.hpp>
5 
6 #include <ossia-qt/matching_type.hpp>
7 namespace ossia
8 {
9 template <>
10 struct qt_property_converter<::TimeVal>
11 {
12  static constexpr const auto val = ossia::val_type::FLOAT;
13  using type = float;
14  static auto convert(const TimeVal& t) { return t.msec(); }
15 };
16 }
Definition: TimeValue.hpp:21