Changeset View
Changeset View
Standalone View
Standalone View
activities.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 41 | { | |||
---|---|---|---|---|---|
42 | connect(m_controller, &KActivities::Controller::activityRemoved, this, &Activities::slotRemoved); | 42 | connect(m_controller, &KActivities::Controller::activityRemoved, this, &Activities::slotRemoved); | ||
43 | connect(m_controller, &KActivities::Controller::activityRemoved, this, &Activities::removed); | 43 | connect(m_controller, &KActivities::Controller::activityRemoved, this, &Activities::removed); | ||
44 | connect(m_controller, &KActivities::Controller::activityAdded, this, &Activities::added); | 44 | connect(m_controller, &KActivities::Controller::activityAdded, this, &Activities::added); | ||
45 | connect(m_controller, &KActivities::Controller::currentActivityChanged, this, &Activities::slotCurrentChanged); | 45 | connect(m_controller, &KActivities::Controller::currentActivityChanged, this, &Activities::slotCurrentChanged); | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | Activities::~Activities() | 48 | Activities::~Activities() | ||
49 | { | 49 | { | ||
50 | s_self = NULL; | 50 | s_self = nullptr; | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | KActivities::Consumer::ServiceStatus Activities::serviceStatus() const | 53 | KActivities::Consumer::ServiceStatus Activities::serviceStatus() const | ||
54 | { | 54 | { | ||
55 | return m_controller->serviceStatus(); | 55 | return m_controller->serviceStatus(); | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | void Activities::setCurrent(const QString &activity) | 58 | void Activities::setCurrent(const QString &activity) | ||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |