Add dptr to models
ClosedPublic

Authored by nicolasfella on Apr 23 2018, 9:41 PM.

Details

Summary

Last exported classes without dptr

Test Plan

Builds

Diff Detail

Repository
R994 Pulseaudio Qt Bindings
Branch
dptr
Lint
No Linters Available
Unit
No Unit Test Coverage
nicolasfella created this revision.Apr 23 2018, 9:41 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 23 2018, 9:41 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
nicolasfella requested review of this revision.Apr 23 2018, 9:41 PM
  • Coding style
  • Add license header
broulik added inline comments.
src/models.h
47

The override is sufficient

81

Why void*?

src/models_p.h
27

Do we need an explicit Q_DECL_HIDDEN or something?

nicolasfella added inline comments.Apr 23 2018, 10:00 PM
src/models.h
81

So we can replace it with a "real" private class when we need it without creating a empty one now

  • Remove unneeded modifier
nicolasfella marked an inline comment as done.Apr 23 2018, 10:01 PM
davidedmundson accepted this revision.Apr 30 2018, 9:11 AM
davidedmundson added a subscriber: davidedmundson.
davidedmundson added inline comments.
src/models_p.h
27

No. That's only needed for when people do

class AbstractModel::Private

where AbstractModel is exported

This revision is now accepted and ready to land.Apr 30 2018, 9:11 AM
This revision was automatically updated to reflect the committed changes.