Warning, /sdk/clazy/docs/checks/README-qproperty-type-mismatch.md is written in an unsupported language. File is not indexed.
0001 # qproperty-type-mismatch 0002 0003 Warns when any of the functions or variables declared in a Q_PROPERTY have types, arguments or return types differing with the Q_PROPERTY. 0004 0005 That is, this will warn on every member function here : 0006 0007 ``` 0008 class Widget : public QWidget { 0009 Q_OBJECT 0010 Q_PROPERTY(bool foo READ foo WRITE setFoo NOTIFY fooChanged) 0011 0012 public: 0013 int foo() const; 0014 void setFoo(float); 0015 signals: 0016 void fooChanged(); 0017 } 0018 ```