~zeller-benjamin/ubuntu-ui-toolkit/qrcify3

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/plugin/ucactioncontext.cpp

  • Committer: Benjamin Zeller
  • Date: 2015-09-10 08:43:12 UTC
  • mfrom: (1585.1.2 staging)
  • Revision ID: benjamin.zeller@canonical.com-20150910084312-6eh8n2729jpslgmb
Merge staging

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
 * sufficient to manage the active local context of the manager and no additional
105
105
 * calls are necessary to manually inactivate the other contexts.
106
106
 */
 
107
bool UCActionContext::active()
 
108
{
 
109
    return m_active;
 
110
}
 
111
 
107
112
void UCActionContext::setActive(bool active)
108
113
{
109
114
    if (m_active == active) {
114
119
        return;
115
120
    }
116
121
    m_active = active;
117
 
    Q_EMIT activeChanged(active);
 
122
    Q_EMIT activeChanged();
118
123
}
119
124
 
120
125
/*!