Commit 92a1792f authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use Q_ENUM instead of Q_ENUMS

parent 35426416
......@@ -38,7 +38,6 @@ class KDEGAMES_EXPORT KgDifficultyLevel : public QObject
Q_PROPERTY(int hardness READ hardness)
Q_PROPERTY(QByteArray key READ key)
Q_PROPERTY(QString title READ title)
Q_PROPERTY(StandardLevel standardLevel READ standardLevel)
enum StandardLevel
......@@ -53,6 +52,7 @@ class KDEGAMES_EXPORT KgDifficultyLevel : public QObject
ExtremelyHard = 70,
Impossible = 80
///Refer to the getters' documentation for details on the params.
KgDifficultyLevel(int hardness, const QByteArray& key, const QString& title, bool isDefault = false);
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