Remove extra ;

This commit is contained in:
Laurent Montel
2023-07-12 18:52:25 +02:00
parent 0c43d3eeee
commit a8536b0634
14 changed files with 16 additions and 16 deletions

View File

@@ -61,7 +61,7 @@ public:
CompletionType, /**< The completion type (always "action" for this model). */
Parameters, /**< The input parameters expected by the action. */
};
Q_ENUM(Roles);
Q_ENUM(Roles)
/**
* @brief Get the given role value at the given index.

View File

@@ -69,7 +69,7 @@ public:
Icon, /**< The icon to show. */
ReplacedText, /**< The text to replace the input text with for the completion. */
};
Q_ENUM(Roles);
Q_ENUM(Roles)
CompletionModel(QObject *parent = nullptr);

View File

@@ -41,7 +41,7 @@ public:
ReplacedTextRole = 52, /**< The name of the emoji. For compatibility with EmojiModel. */
DescriptionRole = 53, /**< Invalid, reserved. For compatibility with EmojiModel. */
};
Q_ENUM(Roles);
Q_ENUM(Roles)
static CustomEmojiModel &instance()
{

View File

@@ -40,7 +40,7 @@ public:
LastIp, /**< The IP address where this device was last seen. */
LastTimestamp, /**< The timestamp when this devices was last seen. */
};
Q_ENUM(Roles);
Q_ENUM(Roles)
DevicesModel(QObject *parent = nullptr);

View File

@@ -95,7 +95,7 @@ public:
ReplacedTextRole = 52, /**< The text to replace the short name with (i.e. the unicode character). */
DescriptionRole = 53, /**< The long description of an emoji. */
};
Q_ENUM(RoleNames);
Q_ENUM(RoleNames)
/**
* @brief Defines the potential categories an emoji can be placed in.

View File

@@ -47,7 +47,7 @@ public:
AttributionRole, /**< The attribution for the pack author(s). */
IdRole, /**< The ID of the image pack. */
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit ImagePacksModel(QObject *parent = nullptr);

View File

@@ -56,7 +56,7 @@ public:
LiveLocation, /**< The initial event of a shared live location (i.e., the place where this is supposed to be shown in the timeline). */
Other, /**< Anything that cannot be classified as another type. */
};
Q_ENUM(DelegateType);
Q_ENUM(DelegateType)
/**
* @brief Defines the model roles.

View File

@@ -32,7 +32,7 @@ public:
Sender, /**< These rules configure notification behaviour for messages from a specific Matrix user ID. */
Underride, /**< These are identical to override rules, but have a lower priority than content, room and sender rules. */
};
Q_ENUM(Kind);
Q_ENUM(Kind)
/**
* @brief Translate the Kind enum value to a human readable string.
@@ -92,7 +92,7 @@ public:
*/
Undefined,
};
Q_ENUM(Section);
Q_ENUM(Section)
/**
* @brief Translate the Section enum value to a human readable string.

View File

@@ -85,7 +85,7 @@ public:
LinkPreviewRole,
SourceRole,
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit SearchModel(QObject *parent = nullptr);
QString searchText() const;

View File

@@ -29,7 +29,7 @@ public:
TypeRole = 0, /**< The type of the state event. */
StateKeyRole, /**< The state key of the state event. */
};
Q_ENUM(Roles);
Q_ENUM(Roles)
explicit StateModel(QObject *parent = nullptr);