Kill KRandom
Open, Needs TriagePublic

Description

use QRandomGenerator instead

mart created this task.Nov 22 2019, 9:16 AM
aacid added a subscriber: aacid.Sep 8 2020, 9:30 AM

I have been mostly doing this without knowing this task existed, but to be real, i disagree with killing KRandom, what needs killing is KRandom::random which is already deprecated

https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/src/lib/randomness/krandom.h

KRandom::randomString and KRandom::shuffle are not part of QRandomGenerator and i don't think they will ever be

alex added a subscriber: alex.EditedApr 17 2021, 2:01 PM

@mart A lot of methods have been deprecated and Albert has implemented a shuffle method which uses QRandomGenerator.

Can we consider this task done?

mart closed this task as Resolved.Apr 19 2021, 10:50 AM
mart claimed this task.

yes i think so

mart reopened this task as Open.Apr 19 2021, 10:51 AM
mart moved this task from Backlog to Done on the KF6 board.