Skip to content

[kcmodule] Add widget() function as porting aid

Nicolas Fella requested to merge work/nico/porting-aid into kf5

In KF6 KCModule is not a QWidget any more

This means all code that expects 'this' to be a widget needs to use widget() instead

To reduce the source delta between KF5 and KF6 add the widget() function to KF5, as an alias to 'this'

Merge request reports