10 #include <QVariantList> 19 class List :
public QObject {
22 List(QObject *parent);
24 QVariantList webStatus()
const;
34 bool contains(
const QString&
id)
const;
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS 49 QHash<QString, Item *> m_items;
Item * item(const QString &id) const
Returns pointer to an item with given id or NULL if the item does not exist.
One data item in the example.
bool contains(const QString &id) const
Returns true if item with the given id exists.
void statusChanged(const Item *)
Signal is invoked when some item status changed.
void insert(Item *)
Insert one item to the list.