27using QColorFloatType =
decltype(std::declval<QColor>().redF());
28static_assert(std::is_floating_point<QColorFloatType>());
30 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().redF())>);
32 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().greenF())>);
34 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().blueF())>);
36 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().alphaF())>);
38 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().valueF())>);
40 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().lightnessF())>);
42 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().saturationF())>);
44 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().hsvSaturationF())>);
46 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().hslSaturationF())>);
48 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().hsvHueF())>);
50 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().hslHueF())>);
52 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().hueF())>);
54 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().magentaF())>);
56 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().cyanF())>);
58 std::is_same_v<QColorFloatType, decltype(std::declval<QColor>().yellowF())>);
65using QListSizeType =
decltype(std::declval<QList<int>>().count());
67 std::is_same_v<QListSizeType,
decltype(std::declval<QList<int>>().count())>);
69 std::is_same_v<QListSizeType,
decltype(std::declval<QList<int>>().size())>);
71 std::is_same_v<QListSizeType,
decltype(std::declval<QList<int>>().indexOf(0))>);
73 std::is_same_v<QListSizeType,
decltype(std::declval<QList<int>>().lastIndexOf(0))>);
82using QStringLength =
decltype(std::declval<QString>().length());
84 std::is_same_v<QStringLength, decltype(std::declval<QString>().length())>);
86 std::is_same_v<QStringLength, decltype(std::declval<QString>().size())>);
95using QStringSize =
decltype(std::declval<QString>().size());
97 std::is_same_v<QStringLength, decltype(std::declval<QString>().length())>);
99 std::is_same_v<QStringLength, decltype(std::declval<QString>().size())>);
The namespace of this library.