Home · All Classes · Modules

QSysInfo Class Reference
[QtCore module]

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

Types

Methods

Static Members


Detailed Description

The QSysInfo class provides information about the system.

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.


Type Documentation

QSysInfo.Endian

Constant Value Description
QSysInfo.BigEndian 0 Big-endian byte order (also called Network byte order)
QSysInfo.LittleEndian 1 Little-endian byte order
QSysInfo.ByteOrder <platform-dependent> Equals BigEndian or LittleEndian, depending on the platform's byte order.



Method Documentation

QSysInfo.__init__ (self)

QSysInfo.__init__ (self, QSysInfo)


Member Documentation

int WordSize

This member should be treated as a constant.

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


PyQt 4.0.1 for X11Copyright © Riverbank Computing Ltd and Trolltech AS 2006Qt 4.1.4