Make QKdeTheme constructor public, allowing for custom inheritance
authorŁukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
Fri, 13 Dec 2013 18:08:44 +0000 (19:08 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 30 Dec 2013 13:36:16 +0000 (14:36 +0100)
commitd351f3a345f63e459ca80368dcb33cbeb06a70cb
tree2a2d6e84c0c7bf3124550b41de2a49fc7bc45fbe
parentf0cf47092e0a9ab814427728fa3a37a8464fc5af
Make QKdeTheme constructor public, allowing for custom inheritance

Make QKdeTheme constructor public, allowing for custom inheritance by
other classes. The danger of making it public and not going through the
factory method are close to none, while other developers might want to
slightly enhance KDE-themed platform themes by themselves. Right now
the only choice is to copy-paste the whole code. QKdeTheme might be a
private class, but still it makes no sense to restrict derivation if
someone finds it necessary to do so.

Task-number: QTBUG-35566
Change-Id: Ia3488da71e7c06fe4b7dc6e275605970b435b00e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/platformsupport/themes/genericunix/qgenericunixthemes_p.h