MauiKit Controls
mauilist.cpp
53 const auto it = std::find_if(this->items().constBegin(), this->items().constEnd(), [&](const FMH::MODEL &item) -> bool {
FMH::MODEL getItem(const int &index) const
Request to get an item in the list, the item is represented as a FMH::MODEL key pair value.
Definition mauilist.cpp:37
virtual const FMH::MODEL_LIST & items() const =0
The modeled data represented by a FMH::MODEL_LIST.
QVariantMap get(const int &index) const
Request to get an item in the list, the item is represented as a QVariantMap for easy consumption wit...
Definition mauilist.cpp:32
int indexOf(const FMH::MODEL_KEY &key, const QString &value) const
The index number of an item in the list of a given key-par value.
Definition mauilist.cpp:51
bool exists(const FMH::MODEL_KEY &key, const QString &value) const
Whether an item with a given key-par value exists in the list.
Definition mauilist.cpp:46
QHash< MODEL_KEY, QString > MODEL
The key-value pair model structure, where the values are strings.
Definition fmh.h:532
const QVariantMap toMap(const FMH::MODEL &model)
Converts a FMH::MODEL object to a QVariantMap.
Definition fmh.cpp:22
qsizetype count() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.