[libcalamares] Improve docs of RequirementsModel

This commit is contained in:
Adriaan de Groot 2020-05-11 11:19:08 +02:00
parent d17dac67e7
commit 616fbb08f3

View File

@ -27,7 +27,15 @@
namespace Calamares
{
/** @brief System requirements from each module and their checked-status
*
* A Calamares module can have system requirements (e.g. check for
* internet, or amount of RAM, or an available disk) which can
* be stated and checked.
*
* This model collects those requirements, can run the checks, and
* reports on the overall status of those checks.
*/
class DLLEXPORT RequirementsModel : public QAbstractListModel
{
Q_OBJECT
@ -70,10 +78,9 @@ protected:
QHash< int, QByteArray > roleNames() const override;
private:
Calamares::RequirementsList m_requirements;
RequirementsList m_requirements;
bool m_satisfiedRequirements = false;
bool m_satisfiedMandatory = false;
};
} // namespace Calamares