6 #ifndef SWIFT_MISC_NAMEVARIANPAIRTLIST_H
7 #define SWIFT_MISC_NAMEVARIANPAIRTLIST_H
39 int getIndexForName(
const QString &name)
const;
42 bool containsName(
const QString &name)
const;
45 QStringList getNames(
bool sorted =
true)
const;
51 CVariant getVariantValue(
const QString &name)
const;
54 QString getValueAsString(
const QString &name)
const;
58 bool addOrReplaceValue(
const QString &name,
const CVariant &value,
const CIcon &icon =
CIcon());
Generic ordered container with value semantics.
Value object for icons. An icon is stored in the global icon repository and identified by its index....
Value object encapsulating a list of name/variant pairs.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Free functions in swift::misc.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.