[Development] Moving QWindowSystemInterface out of QPA

Stephen Kelly stephen.kelly at kdab.com
Mon Jul 16 12:43:19 CEST 2012


On Sunday, July 15, 2012 14:24:18 Holger Hans Peter Freyther wrote:
> On Tue, Jul 10, 2012 at 11:53:33AM +0200, Thiago Macieira wrote:
> > We have only two choices:
> > 
> > 1) make QWindowSystemInterface a proper, public API class
> 
> I think QWindowSystemInterface in its current form would be
> a rather incomplete and limited API. 

The point you have to keep in mind is that it can be extended: There are no 
virtual methods on it, and no reason to add any, and it doesn't have a virtual 
destructor, so it is not designed to be subclassed (actually it should be a 
namespace instead of a class).

So whether the API doesn't offer enough for you is beside the point - the 
point (and the problem) is that it appears in public headers.

Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120716/1a56ce41/attachment.sig>


More information about the Development mailing list