Drop all widgets related code
All this was being used by KSysGuard, which has been unmaintained for years and has been replaced by Plasma System Monitor. Since this code is also effectively unmaintained, drop it so we don't have to support this in the Qt 6 lifetime.