CCheckableTreeWidgetItem: Make use of explicit on constructor
This commit is contained in:
parent
443c6ac81f
commit
e19d0558d0
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue