8 Commits (9f0ca042fea4e276beb56bd6f860fd7f1a73ce0e)

Author SHA1 Message Date
Andrius Štikonas 9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
9 years ago
shainer 2349f7125e Add conversion utilities from QHash to py dict. When translating from pydict, however, translate into a QMap as before to keep current behaviour. 9 years ago
Gormogon e2d05cb9f2 Align Pointers 10 years ago
Kevin Kofler 00604a8bca PythonHelper: Add support for bool.
Convert Python bool type from/to C++/QVariant bool (QVariant::Bool) in
PythonHelper::variantToPyObject and PythonHelper::variantFromPyObject.

This fixes the "override" option and any booleans in the "defaults" list
in grubcfg.conf.
11 years ago
Aurélien Gâteau 90670f8b46 Improve formatting of error messages 11 years ago
Teo Mrnjavac c6c2c67560 Rewrite Python error handling to show meaningful messages. 11 years ago
Teo Mrnjavac 0753e6ccde New GlobalStorage map. With Python API support. 11 years ago
Teo Mrnjavac d9f4c74537 Add support for config map to Python job API.
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
11 years ago