Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtCore.QSysInfo Class Reference

The QSysInfo class provides information about the system. More...

Inheritance diagram for QtCore.QSysInfo:
Collaboration diagram for QtCore.QSysInfo:

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]
 

Detailed Description

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.

Member Enumeration Documentation

Enumerator:
BigEndian 

Big-endian byte order (also called Network byte order)

ByteOrder 

Equals BigEndian or LittleEndian, depending on the platform's byte order.

LittleEndian 

Little-endian byte order

This enum provides platform-specific information about the sizes of data structures used by the underlying architecture.

Enumerator:
WordSize 

The size in bits of a pointer for the platform on which the application is compiled (32 or 64).

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.

Enumerator:
WV_2000 

Windows 2000 (operating system version 5.0)

WV_2003 

Windows Server 2003, Windows Server 2003 R2, Windows Home Server, Windows XP Professional x64 Edition (operating system version 5.2)

WV_32s 

Windows 3.1 with Win 32s

WV_4_0 

Operating system version 4.0, corresponds to Windows NT

WV_5_0 

Operating system version 5.0, corresponds to Windows 2000

WV_5_1 

Operating system version 5.1, corresponds to Windows XP

WV_5_2 

Operating system version 5.2, corresponds to Windows Server 2003, Windows Server 2003 R2, Windows Home Server, and Windows XP Professional x64 Edition

WV_6_0 

Operating system version 6.0, corresponds to Windows Vista and Windows Server 2008

WV_6_1 

Operating system version 6.1, corresponds to Windows 7 and Windows Server 2008 R2

WV_6_2 
WV_95 

Windows 95

WV_98 

Windows 98

WV_CE 

Windows CE

WV_CENET 

Windows CE .NET

WV_CE_5 

Windows CE 5.x

WV_CE_6 

Windows CE 6.x

WV_CE_based 

CE-based version of Windows

WV_DOS_based 

MS-DOS-based version of Windows

WV_Me 

Windows Me

WV_NT 

Windows NT (operating system version 4.0)

WV_NT_based 

NT-based version of Windows

WV_VISTA 

Windows Vista, Windows Server 2008 (operating system version 6.0)

WV_WINDOWS7 

Windows 7, Windows Server 2008 R2 (operating system version 6.1)

WV_WINDOWS8 
WV_XP 

Windows XP (operating system version 5.1)

Constructor & Destructor Documentation

QtCore.QSysInfo.QSysInfo ( System.Type  dummy)
protected
QtCore.QSysInfo.QSysInfo ( )
QtCore.QSysInfo.QSysInfo ( QSysInfo  copy)

Member Function Documentation

virtual void QtCore.QSysInfo.CreateProxy ( )
virtual
new void QtCore.QSysInfo.Dispose ( )

Member Data Documentation

SmokeInvocation QtCore.QSysInfo.interceptor
protected

Property Documentation

virtual System.IntPtr QtCore.QSysInfo.SmokeObject
getset
new QSysInfo.WinVersion QtCore.QSysInfo.WindowsVersion
staticget