dqt ~master (2021-12-05T11:53:08Z)
Dub
Repo
QSysInfo
qt
core
sysinfo
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (
C
++) extern (
C
++)
struct
QSysInfo {
enum
Sizes
;
enum
Endian
;
version(QT_BUILD_QMAKE)
extern static __gshared
const
(
int
)
ByteOrder
;
enum
Endian
;
version(!QT_BUILD_QMAKE && BigEndian)
enum
ByteOrder
;
version(!QT_BUILD_QMAKE && !BigEndian && LittleEndian)
enum
ByteOrder
;
enum
WinVersion
;
enum
MacVersion
;
extern static __gshared
static if
(
versionIsSet!("Windows")
)
const
(
WinVersion
)
WindowsVersion
;
static if
(
versionIsSet!("Windows")
)
static
WinVersion
windowsVersion
();
extern (
D
) static __gshared
static if
(!(
versionIsSet!("Windows")
))
const
(
WinVersion
)
WindowsVersion
;
static if
(!(
versionIsSet!("Windows")
))
static
WinVersion
windowsVersion
();
extern static __gshared
static if
(
(versionIsSet!("OSX") || versionIsSet!("iOS") || versionIsSet!("TVOS") || versionIsSet!("WatchOS"))
)
const
(
MacVersion
)
MacintoshVersion
;
static if
(
(versionIsSet!("OSX") || versionIsSet!("iOS") || versionIsSet!("TVOS") || versionIsSet!("WatchOS"))
)
static
MacVersion
macVersion
();
extern (
D
) static __gshared
static if
(!(
(versionIsSet!("OSX") || versionIsSet!("iOS") || versionIsSet!("TVOS") || versionIsSet!("WatchOS"))
))
const
(
MacVersion
)
MacintoshVersion
;
static if
(!(
(versionIsSet!("OSX") || versionIsSet!("iOS") || versionIsSet!("TVOS") || versionIsSet!("WatchOS"))
))
static
MacVersion
macVersion
();
static
QString
buildCpuArchitecture
();
static
QString
currentCpuArchitecture
();
static
QString
buildAbi
();
static
QString
kernelType
();
static
QString
kernelVersion
();
static
QString
productType
();
static
QString
productVersion
();
static
QString
prettyProductName
();
static
QString
machineHostName
();
static
QByteArray
machineUniqueId
();
static
QByteArray
bootUniqueId
();
}
Members
Enums
Endian
enum
Endian
Undocumented in source.
Endian
enum
Endian
Undocumented in source.
MacVersion
enum
MacVersion
Undocumented in source.
Sizes
enum
Sizes
Undocumented in source.
WinVersion
enum
WinVersion
Undocumented in source.
Manifest constants
ByteOrder
enum
ByteOrder
;
Undocumented in source.
ByteOrder
enum
ByteOrder
;
Undocumented in source.
Static functions
bootUniqueId
QByteArray
bootUniqueId
()
Undocumented in source.
buildAbi
QString
buildAbi
()
Undocumented in source.
buildCpuArchitecture
QString
buildCpuArchitecture
()
Undocumented in source.
currentCpuArchitecture
QString
currentCpuArchitecture
()
Undocumented in source.
kernelType
QString
kernelType
()
Undocumented in source.
kernelVersion
QString
kernelVersion
()
Undocumented in source.
macVersion
MacVersion
macVersion
()
Undocumented in source.
macVersion
MacVersion
macVersion
()
Undocumented in source. Be warned that the author may not have intended to support it.
machineHostName
QString
machineHostName
()
Undocumented in source.
machineUniqueId
QByteArray
machineUniqueId
()
Undocumented in source.
prettyProductName
QString
prettyProductName
()
Undocumented in source.
productType
QString
productType
()
Undocumented in source.
productVersion
QString
productVersion
()
Undocumented in source.
windowsVersion
WinVersion
windowsVersion
()
Undocumented in source.
windowsVersion
WinVersion
windowsVersion
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
ByteOrder
const
(
int
)
ByteOrder
;
Undocumented in source.
MacintoshVersion
const
(
MacVersion
)
MacintoshVersion
;
Undocumented in source.
MacintoshVersion
const
(
MacVersion
)
MacintoshVersion
;
Undocumented in source.
WindowsVersion
const
(
WinVersion
)
WindowsVersion
;
Undocumented in source.
WindowsVersion
const
(
WinVersion
)
WindowsVersion
;
Undocumented in source.
Meta
Source
See Implementation
qt
core
sysinfo
structs
QSysInfo