KCoreAddons
krandom.cpp
41 // Porting to QRandomGenerator::global() instead might result in no new seed set for the generator behind qrand()
43 // So just keeping the old calls here, as this method is also deprecated and will disappear together with qsrand/qrand.
ReadOnly
void setLocalData(T data)
void resize(int size)
qint64 read(char *data, qint64 maxSize)
T & localData()
virtual bool open(QIODevice::OpenMode mode) override
double bounded(double highest)
QThread * currentThread()
QRandomGenerator * global()
KCOREADDONS_EXPORT QString randomString(int length)
Generates a random string.
Definition: krandom.cpp:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:01:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Apr 10 2021 23:01:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.