mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Lint.
This commit is contained in:
parent
e33ecc8230
commit
286feb92b3
1 changed files with 6 additions and 3 deletions
|
|
@ -6,7 +6,8 @@
|
|||
#include <QString>
|
||||
#include <QWidget>
|
||||
|
||||
enum class TagState {
|
||||
enum class TagState
|
||||
{
|
||||
NotSelected,
|
||||
Selected,
|
||||
Excluded
|
||||
|
|
@ -28,7 +29,9 @@ public:
|
|||
{
|
||||
return tagName;
|
||||
}
|
||||
TagState getState() const { return state; }
|
||||
TagState getState() const {
|
||||
return state;
|
||||
}
|
||||
|
||||
void setState(const TagState newState)
|
||||
{
|
||||
|
|
@ -64,7 +67,7 @@ private:
|
|||
QLabel *tagLabel; ///< Label for displaying the tag name.
|
||||
QPushButton *closeButton; ///< Button to close/remove the tag.
|
||||
QString tagName; ///< The name of the tag.
|
||||
TagState state; ///< Indicates whether the tag is unselected, selected, or excluded.
|
||||
TagState state; ///< Indicates whether the tag is unselected, selected, or excluded.
|
||||
};
|
||||
|
||||
#endif // DECK_PREVIEW_TAG_DISPLAY_WIDGET_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue