Commit 1c2a4da1 authored by Jocelyn Turcotte's avatar Jocelyn Turcotte
Browse files

Don't inherit from Qt private types


Do the d_ptr magic ourselves to avoid having to include private
headers from qtcore, qtgui and qtdeclarative.

It is hackish to hide QObject's d_ptr member to have the macros
working in a public class, but if anything goes wrong we just
need to replace the private macro convenience while maintaining
the binary compatibility of the stored extra opaque pointer.

Change-Id: Idb92f4f902826bef9068a5c2ef6ea31fc3fa15b2
Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
parent ddd8ab31
Showing with 29 additions and 16 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment