mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
* seed for random numbers per thread * added function to get all user metatypes as string * added new read file function per path/name * removed DBus operators for pixmap * JSON operators for byte array * util function for JSON string
This commit is contained in:
committed by
Mathew Sutcliffe
parent
19df8a5d71
commit
a725ce2181
@@ -35,11 +35,6 @@ inline void initBlackMiscResources()
|
||||
// cannot be declared within namespace, see docu
|
||||
// hence BlackMisc::initResources() calls this inline function
|
||||
Q_INIT_RESOURCE(blackmisc);
|
||||
|
||||
// set seed for random number if ever used
|
||||
// that is needed only once on application startup
|
||||
QTime time = QTime::currentTime();
|
||||
qsrand((uint)time.msec());
|
||||
}
|
||||
|
||||
//! Free functions in BlackMisc
|
||||
@@ -258,6 +253,9 @@ namespace BlackMisc
|
||||
//! \remarks Used in order to debug code, do not remove
|
||||
BLACKMISC_EXPORT void displayAllUserMetatypesTypes(QTextStream &out);
|
||||
|
||||
//! Get all user metatypes
|
||||
BLACKMISC_EXPORT QString getAllUserMetatypesTypes(const QString &separator = "\n");
|
||||
|
||||
/*!
|
||||
* \brief Calculate a single hash value based on a list of individual hash values
|
||||
* \param values
|
||||
|
||||
Reference in New Issue
Block a user