| QJson project page | QJson home page |
Convenience class for converting JSON data to QVariant objects using a dedicated thread. More...
#include <parserrunnable.h>
Signals | |
| void | parsingFinished (const QVariant &json, bool ok, const QString &error_msg) |
Public Member Functions | |
| ParserRunnable (QObject *parent=0) | |
Convenience class for converting JSON data to QVariant objects using a dedicated thread.
Definition at line 35 of file parserrunnable.h.
| ParserRunnable::ParserRunnable | ( | QObject * | parent = 0 |
) | [explicit] |
This signal is emitted when the conversion process has been completed
| data | contains the JSON data that has to be converted | |
| parent | parent of the object |
Definition at line 36 of file parserrunnable.cpp.
| void QJson::ParserRunnable::parsingFinished | ( | const QVariant & | json, | |
| bool | ok, | |||
| const QString & | error_msg | |||
| ) | [signal] |
This signal is emitted when the parsing process has been completed
| json | contains the result of the parsing | |
| ok | if a parsing error occurs ok is set to false, otherwise it's set to true. | |
| error_msg | contains a string explaining the failure reason |
|
|
hosts this site. |
Send comments to: QJson Developers |