Remove header reliance on QWidget

Authored by roberts on Feb 11 2016, 5:55 PM.

Description

Remove header reliance on QWidget

Although KWindowSystem does link to widgets, this should not provide otherwise 'pure' QtGui consumers with compile errors from including headers. This patch removes QWidget reliance from xcb/netwm, and header reliance from kwindowffects. kwindowsystem.h was already free.

Note there are still forward declarations present (QtGui/qwindowdefs.h provides them in addition to WId in any case), as QWidget* is part of a few of the API functions.

REVIEW: 127047

Details

Committed
robertsJul 23 2017, 7:55 AM
Parents
R278:73d5439756ac: GIT_SILENT Upgrade KF5 version to 5.37.0.
Branches
Unknown
Tags
Unknown