Remove extra ;
This commit is contained in:
@@ -116,7 +116,7 @@ public:
|
|||||||
Wrong, /**< The current password entered was wrong. */
|
Wrong, /**< The current password entered was wrong. */
|
||||||
Other, /**< An unknown problem occurred. */
|
Other, /**< An unknown problem occurred. */
|
||||||
};
|
};
|
||||||
Q_ENUM(PasswordStatus);
|
Q_ENUM(PasswordStatus)
|
||||||
|
|
||||||
static Controller &instance();
|
static Controller &instance();
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ public:
|
|||||||
Download,
|
Download,
|
||||||
Upload,
|
Upload,
|
||||||
};
|
};
|
||||||
Q_ENUM(Operation);
|
Q_ENUM(Operation)
|
||||||
FileTransferPseudoJob(Operation operation, const QString &srcDest, const QString &path);
|
FileTransferPseudoJob(Operation operation, const QString &srcDest, const QString &path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public:
|
|||||||
CompletionType, /**< The completion type (always "action" for this model). */
|
CompletionType, /**< The completion type (always "action" for this model). */
|
||||||
Parameters, /**< The input parameters expected by the action. */
|
Parameters, /**< The input parameters expected by the action. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the given role value at the given index.
|
* @brief Get the given role value at the given index.
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ public:
|
|||||||
Icon, /**< The icon to show. */
|
Icon, /**< The icon to show. */
|
||||||
ReplacedText, /**< The text to replace the input text with for the completion. */
|
ReplacedText, /**< The text to replace the input text with for the completion. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
|
|
||||||
CompletionModel(QObject *parent = nullptr);
|
CompletionModel(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public:
|
|||||||
ReplacedTextRole = 52, /**< The name of the emoji. For compatibility with EmojiModel. */
|
ReplacedTextRole = 52, /**< The name of the emoji. For compatibility with EmojiModel. */
|
||||||
DescriptionRole = 53, /**< Invalid, reserved. For compatibility with EmojiModel. */
|
DescriptionRole = 53, /**< Invalid, reserved. For compatibility with EmojiModel. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
|
|
||||||
static CustomEmojiModel &instance()
|
static CustomEmojiModel &instance()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public:
|
|||||||
LastIp, /**< The IP address where this device was last seen. */
|
LastIp, /**< The IP address where this device was last seen. */
|
||||||
LastTimestamp, /**< The timestamp when this devices was last seen. */
|
LastTimestamp, /**< The timestamp when this devices was last seen. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
|
|
||||||
DevicesModel(QObject *parent = nullptr);
|
DevicesModel(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ public:
|
|||||||
ReplacedTextRole = 52, /**< The text to replace the short name with (i.e. the unicode character). */
|
ReplacedTextRole = 52, /**< The text to replace the short name with (i.e. the unicode character). */
|
||||||
DescriptionRole = 53, /**< The long description of an emoji. */
|
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.
|
* @brief Defines the potential categories an emoji can be placed in.
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ public:
|
|||||||
AttributionRole, /**< The attribution for the pack author(s). */
|
AttributionRole, /**< The attribution for the pack author(s). */
|
||||||
IdRole, /**< The ID of the image pack. */
|
IdRole, /**< The ID of the image pack. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
|
|
||||||
explicit ImagePacksModel(QObject *parent = nullptr);
|
explicit ImagePacksModel(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -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). */
|
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. */
|
Other, /**< Anything that cannot be classified as another type. */
|
||||||
};
|
};
|
||||||
Q_ENUM(DelegateType);
|
Q_ENUM(DelegateType)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Defines the model roles.
|
* @brief Defines the model roles.
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public:
|
|||||||
Sender, /**< These rules configure notification behaviour for messages from a specific Matrix user ID. */
|
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. */
|
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.
|
* @brief Translate the Kind enum value to a human readable string.
|
||||||
@@ -92,7 +92,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
Undefined,
|
Undefined,
|
||||||
};
|
};
|
||||||
Q_ENUM(Section);
|
Q_ENUM(Section)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Translate the Section enum value to a human readable string.
|
* @brief Translate the Section enum value to a human readable string.
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ public:
|
|||||||
LinkPreviewRole,
|
LinkPreviewRole,
|
||||||
SourceRole,
|
SourceRole,
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
explicit SearchModel(QObject *parent = nullptr);
|
explicit SearchModel(QObject *parent = nullptr);
|
||||||
|
|
||||||
QString searchText() const;
|
QString searchText() const;
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public:
|
|||||||
TypeRole = 0, /**< The type of the state event. */
|
TypeRole = 0, /**< The type of the state event. */
|
||||||
StateKeyRole, /**< The state key of the state event. */
|
StateKeyRole, /**< The state key of the state event. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Roles);
|
Q_ENUM(Roles)
|
||||||
|
|
||||||
explicit StateModel(QObject *parent = nullptr);
|
explicit StateModel(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public:
|
|||||||
MentionKeyword, /**< Notifications only for local user mentions and keywords. */
|
MentionKeyword, /**< Notifications only for local user mentions and keywords. */
|
||||||
All, /**< Notifications for all messages. */
|
All, /**< Notifications for all messages. */
|
||||||
};
|
};
|
||||||
Q_ENUM(State);
|
Q_ENUM(State)
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -386,7 +386,7 @@ public:
|
|||||||
Info, /**< Info message, typically highlight color. */
|
Info, /**< Info message, typically highlight color. */
|
||||||
Error, /**< Error message, typically red. */
|
Error, /**< Error message, typically red. */
|
||||||
};
|
};
|
||||||
Q_ENUM(MessageType);
|
Q_ENUM(MessageType)
|
||||||
|
|
||||||
explicit NeoChatRoom(Quotient::Connection *connection, QString roomId, Quotient::JoinState joinState = {});
|
explicit NeoChatRoom(Quotient::Connection *connection, QString roomId, Quotient::JoinState joinState = {});
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public:
|
|||||||
Highlight, /**< Push notifications are on, also the event should be highlighted in chat. */
|
Highlight, /**< Push notifications are on, also the event should be highlighted in chat. */
|
||||||
NoisyHighlight, /**< Push notifications are on, also trigger a notification sound and highlight in chat. */
|
NoisyHighlight, /**< Push notifications are on, also trigger a notification sound and highlight in chat. */
|
||||||
};
|
};
|
||||||
Q_ENUM(Action);
|
Q_ENUM(Action)
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user