Remove unsigned int leftovers from KRatingWidget class
Open, Needs TriagePublic

Description

Most of the methods that use an unisged int are already deprecated. However there is still the unsigned int rating() const; method and the void ratingChanged(unsigned int rating); signal.

The signal should be deprecated in favor of the one which just uses an int, this also helps with T13986.

The rating getter should be wrapped in the KWIDGETSADDONS_BUILD_DEPRECATED_SINCE with a getter which returns an int as the alternative. When KF6 is branched we could drop the old stuff altogether. This will lead to only minor source code incompatibilities, but with the KWIDGETSADDONS_BUILD_DEPRECATED_SINCE developers can test their apps.

Related Objects