cleanup
parent
3124cdb1ae
commit
77a58075c2
|
@ -1,22 +1,22 @@
|
||||||
{
|
{
|
||||||
"cppfile": "src/tmp.cpp",
|
"cppfile": "src/tmp.cpp",
|
||||||
"objects": [{
|
"objects": [{
|
||||||
"name": "Test",
|
"name": "Test",
|
||||||
"properties": [{
|
"properties": [{
|
||||||
"name": "userName",
|
"name": "userName",
|
||||||
"type": "QString",
|
"type": "QString",
|
||||||
"write": true
|
"write": true
|
||||||
}, {
|
}, {
|
||||||
"name": "age",
|
"name": "age",
|
||||||
"type": "int"
|
"type": "int"
|
||||||
}, {
|
}, {
|
||||||
"name": "active",
|
"name": "active",
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
"write": true
|
"write": true
|
||||||
}, {
|
}, {
|
||||||
"name": "misc",
|
"name": "misc",
|
||||||
"type": "QVariant",
|
"type": "QVariant",
|
||||||
"write": true
|
"write": true
|
||||||
|
}]
|
||||||
}]
|
}]
|
||||||
}]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,15 +73,6 @@ parseConfiguration(const QString& path) {
|
||||||
c.objects.append(parseObject(val.toObject()));
|
c.objects.append(parseObject(val.toObject()));
|
||||||
}
|
}
|
||||||
return c;
|
return c;
|
||||||
/*
|
|
||||||
QTextStream in(&configurationFile);
|
|
||||||
in.setCodec("UTF-8");
|
|
||||||
configuration = in.readAll();
|
|
||||||
configurationFile.close();
|
|
||||||
} else {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString upperInitial(const QString& name) {
|
QString upperInitial(const QString& name) {
|
||||||
|
|
Loading…
Reference in New Issue