QtlMovie 1.12 (A specialized FFmpeg front-end)
QtlSysInfo Class Reference

An extension of QSysInfo. More...

Inheritance diagram for QtlSysInfo:

Static Public Member Functions

static int numberOfProcessors (int defaultValue=-1)
 Get the number of processors in the system. More...
 
static bool runningOnWin64 ()
 Check if the application is running on a 64-bit version of Windows. More...
 

Private Member Functions

 QtlSysInfo () Q_DECL_EQ_DELETE
 

Detailed Description

An extension of QSysInfo.

Constructor & Destructor Documentation

◆ QtlSysInfo()

QtlSysInfo::QtlSysInfo ( )
private

Member Function Documentation

◆ runningOnWin64()

bool QtlSysInfo::runningOnWin64 ( )
static

Check if the application is running on a 64-bit version of Windows.

This cannot be detected by conditional compilation since a 32-bit Windows application may run on a 64-bit system.

Returns
True if the application is running on a 64-bit version of Windows. Always return false on non-Windows systems.

◆ numberOfProcessors()

int QtlSysInfo::numberOfProcessors ( int  defaultValue = -1)
static

Get the number of processors in the system.

Parameters
[in]defaultValueThe value to return on error. Sometimes it can be useful to use 1 as default value.
Returns
The number of processors in the system.

The documentation for this class was generated from the following files: