Add StatusBarExtension(KParts::Part *) overloaded constructor.
ClosedPublic

Authored by dfaure on Apr 4 2020, 10:07 PM.

Details

Summary

There's nothing specific to ReadOnlyPart about the statusbar extension.
This allows to port KMailPart to KParts::Part and still have it show
items in the kontact statusbar.

Technically the overloaded ctor could be ambiguous (e.g. if called with
a nullptr argument), but such an arg wouldn't make sense, and I built
all of the git.kde.org modules that use StatusBarExtension, without
issues.

Diff Detail

Repository
R306 KParts
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24769
Build 24787: arc lint + arc unit
dfaure created this revision.Apr 4 2020, 10:07 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 4 2020, 10:07 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Apr 4 2020, 10:07 PM
vkrause accepted this revision.Apr 5 2020, 8:38 AM
This revision is now accepted and ready to land.Apr 5 2020, 8:38 AM
dfaure closed this revision.Apr 5 2020, 8:43 AM