> In TouchGestureArea.h:
>
> """
> Q_PROPERTY(int minimumTouchPoints READ minimumTouchPoints WRITE
> setMinimumTouchPoints NOTIFY minimumTouchPointsChanged)
> Q_PROPERTY(int maximumTouchPoints READ maximumTouchPoints WRITE
> setMaximumTouchPoints NOTIFY maximumTouchPointsChanged)
> """
>
> Doing that way would save you from the boredom of writing down standard
> getters and setters yourself:
>
> Q_PROPERTY(int minimumTouchPoints MEMBER m_minimumTouchPoints NOTIFY
> minimumTouchPointsChanged)
> Q_PROPERTY(int maximumTouchPoints MEMBER m_maximumTouchPoints NOTIFY
> maximumTouchPointsChanged)
I did this, but reverted because I needed the set for tests.
> In TouchGestureArea.h: Points NOTIFY minimumTouchPoi ntsChanged) Points NOTIFY maximumTouchPoi ntsChanged) oints NOTIFY ntsChanged) oints NOTIFY ntsChanged)
>
> """
> Q_PROPERTY(int minimumTouchPoints READ minimumTouchPoints WRITE
> setMinimumTouch
> Q_PROPERTY(int maximumTouchPoints READ maximumTouchPoints WRITE
> setMaximumTouch
> """
>
> Doing that way would save you from the boredom of writing down standard
> getters and setters yourself:
>
> Q_PROPERTY(int minimumTouchPoints MEMBER m_minimumTouchP
> minimumTouchPoi
> Q_PROPERTY(int maximumTouchPoints MEMBER m_maximumTouchP
> maximumTouchPoi
I did this, but reverted because I needed the set for tests.