Hobrasoft httpd server
Embedded HTTP server for Qt and C++
|
One data item in the example. More...
#include <item.h>
Signals | |
void | statusChanged (const Item *) |
Signal is invoked when the status of the item changed. | |
Public Member Functions | |
Item (const QString &id, const QString &text, int interval, QObject *parent) | |
Constructor creates item from given parameters. | |
const QString & | id () const |
Returns id of the item. | |
const QString & | text () const |
Returns text of the item. | |
QVariantMap | webStatus () const |
Returns webStatus of the item. | |
Private Slots | |
void | updateStatus () |
Slot is called periodicaly to increment inner value of the example item. | |
One data item in the example.
The value of the item is incremented periodically and then the statusChanged() is signaled.