Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QSysInfo class provides information about the system. More...
Public Types | |
enum | Endian { BigEndian = 0, ByteOrder = 1, LittleEndian = 1 } |
enum | Sizes { WordSize = 32 } |
More... | |
enum | WinVersion { WV_2000 = 32, WV_2003 = 64, WV_32s = 1, WV_4_0 = 16, WV_5_0 = 32, WV_5_1 = 48, WV_5_2 = 64, WV_6_0 = 128, WV_6_1 = 144, WV_6_2 = 160, WV_95 = 2, WV_98 = 3, WV_CE = 256, WV_CENET = 512, WV_CE_5 = 768, WV_CE_6 = 1024, WV_CE_based = 3840, WV_DOS_based = 15, WV_Me = 4, WV_NT = 16, WV_NT_based = 240, WV_VISTA = 128, WV_WINDOWS7 = 144, WV_WINDOWS8 = 160, WV_XP = 48 } |
More... | |
Public Member Functions | |
QSysInfo () | |
QSysInfo (QSysInfo copy) | |
virtual void | CreateProxy () |
new void | Dispose () |
Protected Member Functions | |
QSysInfo (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
virtual System.IntPtr | SmokeObject [get, set] |
static new QSysInfo.WinVersion | WindowsVersion [get] |
The QSysInfo class provides information about the system.
WordSize specifies the size of a pointer for the platform on which the application is compiled.
ByteOrder specifies whether the platform is big-endian or little-endian.
WindowsVersion specifies the version of the Windows operating system on which the application is run (Windows only)
MacintoshVersion specifies the version of the Macintosh operating system on which the application is run (Mac only).
Some constants are defined only on certain platforms. You can use the preprocessor symbols Q_WS_WIN and Q_WS_MAC to test that the application is compiled under Windows or Mac.
See also QLibraryInfo.
This enum provides symbolic names for the various versions of the Windows operating system. On Windows, the QSysInfo::WindowsVersion variable gives the version of the system on which the application is run.
MS-DOS-based versions:
NT-based versions (note that each operating system version is only represented once rather than each Windows edition):
Alternatively, you may use the following macros which correspond directly to the Windows operating system version number:
CE-based versions:
The following masks can be used for testing whether a Windows version is MS-DOS-based, NT-based, or CE-based:
See also MacVersion and SymbianVersion.
|
protected |
QtCore.QSysInfo.QSysInfo | ( | ) |
QtCore.QSysInfo.QSysInfo | ( | QSysInfo | copy | ) |
|
virtual |
new void QtCore.QSysInfo.Dispose | ( | ) |
|
protected |
|
getset |
|
staticget |