~nick-dedekind/ubuntu-ui-toolkit/actionItem-mnemonics

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/plugin/ucactionitem_p.h

  • Committer: Nick Dedekind
  • Date: 2016-05-13 12:15:57 UTC
  • Revision ID: nick.dedekind@canonical.com-20160513121557-gg7cd1byix4hbpcr
mnemonic property

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    bool hasBindingOnProperty(const QString &name);
38
38
    void updateProperties();
39
39
    void attachAction(bool attach);
40
 
    void updateMnemonicFromText();
41
40
 
42
41
    // private slots
43
42
    void _q_visibleBinding();
45
44
    void _q_invokeActionTrigger(const QVariant &value);
46
45
    void _q_textBinding();
47
46
    void _q_onKeyboardAttached();
 
47
    void _q_updateMnemonic();
48
48
 
49
49
    enum {
50
50
        CustomText = 0x01,
58
58
    QUrl iconSource;
59
59
    UCAction *action;
60
60
    quint8 flags;
61
 
    QKeySequence m_mnemonic;
 
61
    UCActionMnemonic mnemonic;
62
62
};
63
63
 
64
64
#endif // UCACTIONITEM_P