TTKMusicPlayer
3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the platform system. More...
#include <ttkplatformsystem.h>
Public Member Functions | |
int | logicalDotsPerInchX () const |
int | logicalDotsPerInchY () const |
int | logicalDotsPerInch () const |
System | systemName () const |
The class of the platform system.
Definition at line 27 of file ttkplatformsystem.h.
|
strong |
Definition at line 31 of file ttkplatformsystem.h.
int TTKPlatformSystem::logicalDotsPerInch | ( | ) | const |
Get local DPI.
Definition at line 68 of file ttkplatformsystem.cpp.
References generateDPIValue().
Referenced by loadApplicationScaleFactor().
int TTKPlatformSystem::logicalDotsPerInchX | ( | ) | const |
Get local DPI x.
Definition at line 56 of file ttkplatformsystem.cpp.
References generateDPIValue().
int TTKPlatformSystem::logicalDotsPerInchY | ( | ) | const |
Get local DPI y.
Definition at line 62 of file ttkplatformsystem.cpp.
References generateDPIValue().
TTKPlatformSystem::System TTKPlatformSystem::systemName | ( | ) | const |
Get system name.
Definition at line 74 of file ttkplatformsystem.cpp.
References Linux, LinuxArch, LinuxCentOS, LinuxDebian, LinuxUbuntu, Mac, TTKVoidCast, Unkown, Win10, Win11, Win2000, Win7, Win8, Win81, Win95, Win98, WinMe, WinNT40, WinServer2003, WinServer2003R2, WinServer2008, WinServer2008R2, WinServer2012, WinVista, WinXP, and WinXPProfessionalEdition.
Referenced by TTK::Url::openUrl(), and MusicApplicationModule::sideAnimationByOn().