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