Lines Matching refs:obj
62 QObject *obj;
66 obj = qobject_from_jsonv(string, &ap);
69 assert(obj != NULL);
70 return obj;
79 static void to_json(const QObject *obj, QString *str);
81 static void to_json_dict_iter(const char *key, QObject *obj, void *opaque)
95 to_json(obj, s->str);
99 static void to_json_list_iter(QObject *obj, void *opaque)
107 to_json(obj, s->str);
111 static void to_json(const QObject *obj, QString *str)
113 switch (qobject_type(obj)) {
115 QInt *val = qobject_to_qint(obj);
123 QString *val = qobject_to_qstring(obj);
189 QDict *val = qobject_to_qdict(obj);
200 QList *val = qobject_to_qlist(obj);
210 QFloat *val = qobject_to_qfloat(obj);
229 QBool *val = qobject_to_qbool(obj);
245 QString *qobject_to_json(const QObject *obj)
249 to_json(obj, str);