~zsombi/ubuntu-ui-toolkit/alarm-regression-fix

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/plugin/uclistitem_p.h

  • Committer: Tarmac
  • Author(s): Zsombor Egri
  • Date: 2015-02-05 15:36:14 UTC
  • mfrom: (1366.1.18 78-action-property)
  • Revision ID: tarmac-20150205153614-e30jwjhh1a7aheif
Introducing action property in ListItem. Fixes: https://bugs.launchpad.net/bugs/1362305, https://bugs.launchpad.net/bugs/1369935.

Approved by PS Jenkins bot, Tim Peeters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    UCActionPanel *leadingPanel;
97
97
    UCActionPanel *trailingPanel;
98
98
    UCListItemSnapAnimator *animator;
 
99
    UCAction *mainAction;
99
100
 
100
101
    // FIXME move these to StyledItemBase togehther with subtheming.
101
102
    QQmlComponent *styleComponent;
115
116
    void resetStyle();
116
117
    void initStyleItem();
117
118
    QQuickItem *styleInstance() const;
 
119
    UCAction *action() const;
 
120
    void setAction(UCAction *action);
118
121
};
119
122
 
120
123
class UCListItemAttachedPrivate : public QObjectPrivate