Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 416 Bytes

README-qproperty-type-mismatch.md

File metadata and controls

18 lines (14 loc) · 416 Bytes

qproperty-type-mismatch

Warns when any of the functions or variables declared in a Q_PROPERTY have types, arguments or return types differing with the Q_PROPERTY.

That is, this will warn on every member function here :

class Widget : public QWidget {
Q_OBJECT
Q_PROPERTY(bool foo READ foo WRITE setFoo NOTIFY fooChanged)

public:
  int foo() const;
  void setFoo(float);
signals:
  void fooChanged();
}