CCheckableTreeWidgetItem: Make use of explicit on constructor

This commit is contained in:
Lioncash 2020-07-10 15:21:41 -04:00
parent 443c6ac81f
commit e19d0558d0
1 changed files with 9 additions and 9 deletions

View File

@ -9,31 +9,31 @@ class CCheckableTreeWidgetItem : public QTreeWidgetItem
{
public:
/** Constructors */
CCheckableTreeWidgetItem(int type = Type)
explicit CCheckableTreeWidgetItem(int type = Type)
: QTreeWidgetItem(type) {}
CCheckableTreeWidgetItem(const QStringList& strings, int type = Type)
explicit CCheckableTreeWidgetItem(const QStringList& strings, int type = Type)
: QTreeWidgetItem(strings, type) {}
CCheckableTreeWidgetItem(QTreeWidget* parent, int type = Type)
explicit CCheckableTreeWidgetItem(QTreeWidget* parent, int type = Type)
: QTreeWidgetItem(parent, type) {}
CCheckableTreeWidgetItem(QTreeWidget* parent, const QStringList& strings, int type = Type)
explicit CCheckableTreeWidgetItem(QTreeWidget* parent, const QStringList& strings, int type = Type)
: QTreeWidgetItem(parent, strings, type) {}
CCheckableTreeWidgetItem(QTreeWidget* parent, QTreeWidgetItem* preceding, int type = Type)
explicit CCheckableTreeWidgetItem(QTreeWidget* parent, QTreeWidgetItem* preceding, int type = Type)
: QTreeWidgetItem(parent, preceding, type) {}
CCheckableTreeWidgetItem(QTreeWidgetItem* parent, int type = Type)
explicit CCheckableTreeWidgetItem(QTreeWidgetItem* parent, int type = Type)
: QTreeWidgetItem(parent, type) {}
CCheckableTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type)
explicit CCheckableTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type)
: QTreeWidgetItem(parent, strings, type) {}
CCheckableTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* preceding, int type = Type)
explicit CCheckableTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* preceding, int type = Type)
: QTreeWidgetItem(parent, preceding, type) {}
CCheckableTreeWidgetItem(const QTreeWidgetItem& other)
explicit CCheckableTreeWidgetItem(const QTreeWidgetItem& other)
: QTreeWidgetItem(other) {}
/** setData override to catch check state changes */