mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
add missing override and explicit specifiers in src/deck and src/utility (#5525)
* add missing override and explicit specifiers in src/deck * add missing override and explicit specifiers in src/utility
This commit is contained in:
parent
9f729bf636
commit
a41e7c75c1
4 changed files with 6 additions and 6 deletions
|
|
@ -35,7 +35,7 @@ protected:
|
||||||
void keyPressEvent(QKeyEvent *event) override;
|
void keyPressEvent(QKeyEvent *event) override;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SearchLineEdit() : LineEditUnfocusable(), treeView(nullptr)
|
SearchLineEdit() : treeView(nullptr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
void setTreeView(QTreeView *_treeView)
|
void setTreeView(QTreeView *_treeView)
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,8 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DeckLoader();
|
DeckLoader();
|
||||||
DeckLoader(const QString &nativeString);
|
explicit DeckLoader(const QString &nativeString);
|
||||||
DeckLoader(const DeckList &other);
|
explicit DeckLoader(const DeckList &other);
|
||||||
DeckLoader(const DeckLoader &other);
|
DeckLoader(const DeckLoader &other);
|
||||||
const QString &getLastFileName() const
|
const QString &getLastFileName() const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ private slots:
|
||||||
void getAnalyzeRequestData(DeckList *deck, QByteArray *data);
|
void getAnalyzeRequestData(DeckList *deck, QByteArray *data);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DeckStatsInterface(CardDatabase &_cardDatabase, QObject *parent = nullptr);
|
explicit DeckStatsInterface(CardDatabase &_cardDatabase, QObject *parent = nullptr);
|
||||||
void analyzeDeck(DeckList *deck);
|
void analyzeDeck(DeckList *deck);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class SequenceEdit : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
SequenceEdit(const QString &_shortcutName, QWidget *parent = nullptr);
|
explicit SequenceEdit(const QString &_shortcutName, QWidget *parent = nullptr);
|
||||||
QString getSequence();
|
QString getSequence();
|
||||||
void setShortcutName(const QString &_shortcutName);
|
void setShortcutName(const QString &_shortcutName);
|
||||||
void refreshShortcut();
|
void refreshShortcut();
|
||||||
|
|
@ -23,7 +23,7 @@ private slots:
|
||||||
void restoreDefault();
|
void restoreDefault();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject *, QEvent *event);
|
bool eventFilter(QObject *, QEvent *event) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString shortcutName;
|
QString shortcutName;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue