Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/containmentactions.cpp
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 60 | { | |||
---|---|---|---|---|---|
61 | delete d; | 61 | delete d; | ||
62 | } | 62 | } | ||
63 | 63 | | |||
64 | KPluginInfo ContainmentActions::pluginInfo() const | 64 | KPluginInfo ContainmentActions::pluginInfo() const | ||
65 | { | 65 | { | ||
66 | return KPluginInfo(d->containmentActionsDescription); | 66 | return KPluginInfo(d->containmentActionsDescription); | ||
67 | } | 67 | } | ||
68 | 68 | | |||
69 | KPluginMetaData ContainmentActions::metadata() const | ||||
70 | { | ||||
71 | return d->containmentActionsDescription; | ||||
72 | } | ||||
73 | | ||||
69 | Containment *ContainmentActions::containment() | 74 | Containment *ContainmentActions::containment() | ||
70 | { | 75 | { | ||
71 | if (d->containment) { | 76 | if (d->containment) { | ||
72 | return d->containment; | 77 | return d->containment; | ||
73 | } | 78 | } | ||
74 | return qobject_cast<Containment *>(parent()); | 79 | return qobject_cast<Containment *>(parent()); | ||
75 | } | 80 | } | ||
76 | 81 | | |||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |