Commit 1376951d authored by Lays Rodrigues's avatar Lays Rodrigues 😀

For profileNames function uses Q_PROPERTY

Summary: Signed-off-by: Lays Rodrigues <lays.rodrigues@kde.org>

Reviewers: rizzitello, tcanabrava, patrickelectric

Reviewed By: rizzitello, tcanabrava, patrickelectric

Differential Revision: https://phabricator.kde.org/D22383
parents 3fed09f8 352f4434
......@@ -32,6 +32,7 @@
class ATCORE_EXPORT MachineInfo : public QObject
{
Q_OBJECT
Q_PROPERTY(QStringList profileNames READ profileNames NOTIFY profilesChanged)
public:
/**
* @brief KEYS enum Possible keys for the printer settings
......@@ -122,7 +123,7 @@ public:
* @brief Get a list of all the profile names
* @return QStringList containing the stored profile names.
*/
Q_INVOKABLE QStringList profileNames() const;
QStringList profileNames() const;
/**
* @brief Translate a key enum to string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment