src: clazy compiler warnings
get rid of most clazy warnings (https://github.com/KDE/clazy) * range loop use refs * qcolor ctor with ints * missing Q_OBJECT macro * use .constfirst instead of .first enabled ccache for unix systems for fasterr recompiling * if ccache is in path we use it now
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
class QtGraphNodeAccess
|
||||
: public QtGraphNode
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QtGraphNodeAccess(AccessKind accessKind);
|
||||
virtual ~QtGraphNodeAccess();
|
||||
|
||||
@@ -9,6 +9,7 @@ class QtCountCircleItem;
|
||||
class QtGraphNodeBundle
|
||||
: public QtGraphNode
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QtGraphNodeBundle(Id tokenId, size_t nodeCount, Node::NodeType type, std::string name);
|
||||
virtual ~QtGraphNodeBundle();
|
||||
|
||||
@@ -8,6 +8,7 @@ class FilePath;
|
||||
class QtGraphNodeData
|
||||
: public QtGraphNode
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QtGraphNodeData(const Node* data, const std::string& name, bool hasParent, bool childVisible, bool hasQualifier);
|
||||
virtual ~QtGraphNodeData();
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
class QtGraphNodeExpandToggle
|
||||
: public QtGraphNode
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QtGraphNodeExpandToggle(bool expanded, int invisibleSubNodeCount);
|
||||
virtual ~QtGraphNodeExpandToggle();
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
class QtGraphNodeQualifier
|
||||
: public QtGraphNode
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QtGraphNodeQualifier(const NameHierarchy& name);
|
||||
virtual ~QtGraphNodeQualifier();
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
class QtGraphNodeText
|
||||
: public QtGraphNode
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QtGraphNodeText(const std::string& name);
|
||||
virtual ~QtGraphNodeText();
|
||||
|
||||
Reference in New Issue
Block a user