// Copyright (C) 2025 The Qt Company Ltd. // SPDX-License-Identifier: MIT #include #include #include class ContainerTypes : public QObject { Q_OBJECT public: using QObject::QObject; QByteArrayList qByteArrayList = { "one", "two", "three", }; QHash qHash = { {10, "one"}, {20, "two"}, {30, "three"}, }; QMap qMap = { {10, "one"}, {20, "two"}, {30, "three"}, }; QMultiHash qMultiHash = { {10, "one"}, {10, "two"}, {10, "three"}, {20, "four"}, }; QSet qSet = { "one", "two", "three", "four", }; QStringList qStringList = { "one", "two", "three", }; QVarLengthArray qVarLengthArray = { "one", "two", "three", "four", }; std::map stdMap = { {10, "one"}, {20, "two"}, {30, "three"}, }; std::unordered_map stdUnorderedMap = { {10, "one"}, {20, "two"}, {30, "three"}, }; std::unordered_multimap stdUnorderedMultimap = { {10, "one"}, {10, "two"}, {10, "three"}, {20, "four"}, }; std::unordered_set stdSet = { "one", "two", "three", "four", }; };