11 #include <QVariantMap> 20 class Item :
public QObject {
26 Item(
const QString&
id,
const QString&
text,
int interval, QObject *parent);
28 const QString&
id()
const;
30 const QString&
text()
const;
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS void statusChanged(const Item *)
Signal is invoked when the status of the item changed.
Item(const QString &id, const QString &text, int interval, QObject *parent)
Constructor creates item from given parameters.
QVariantMap webStatus() const
Returns webStatus of the item.
const QString & text() const
Returns text of the item.
void updateStatus()
Slot is called periodicaly to increment inner value of the example item.
One data item in the example.
const QString & id() const
Returns id of the item.