Code review comment for lp:~nick-dedekind/unity8/side-stage-redesign

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

> 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.

« Back to merge proposal