TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Macros
qmmp.h File Reference
#include <QString>
#include "qmmp_export.h"

Go to the source code of this file.

Classes

class  Qmmp
 The Qmmp class stores global settings and enums. More...
 

Macros

#define QMMP_VERSION_MAJOR   1
 
#define QMMP_VERSION_MINOR   6
 
#define QMMP_VERSION_PATCH   7
 
#define QMMP_VERSION_INT   (QMMP_VERSION_MAJOR<<16 | QMMP_VERSION_MINOR<<8 | QMMP_VERSION_PATCH)
 
#define QStringToFileName(s)   s.toLocal8Bit().constData()
 
#define qPrintable(s)   QString(s).toLocal8Bit().constData()
 
#define qUtf8Printable(s)   QString(s).toUtf8().constData()
 
#define QmmpPrintable(s)   Qmmp::generatePrintable(s).constData()
 
#define CSTR_TO_QSTR(codec, str, utf)   codec->toUnicode(str.toCString(utf)).trimmed()
 

Macro Definition Documentation

#define CSTR_TO_QSTR (   codec,
  str,
  utf 
)    codec->toUnicode(str.toCString(utf)).trimmed()

Definition at line 54 of file qmmp.h.

#define QMMP_VERSION_INT   (QMMP_VERSION_MAJOR<<16 | QMMP_VERSION_MINOR<<8 | QMMP_VERSION_PATCH)

Definition at line 31 of file qmmp.h.

#define QMMP_VERSION_MAJOR   1

Definition at line 27 of file qmmp.h.

#define QMMP_VERSION_MINOR   6

Definition at line 28 of file qmmp.h.

#define QMMP_VERSION_PATCH   7

Definition at line 29 of file qmmp.h.

#define QmmpPrintable (   s)    Qmmp::generatePrintable(s).constData()

Definition at line 51 of file qmmp.h.

#define qPrintable (   s)    QString(s).toLocal8Bit().constData()

Definition at line 43 of file qmmp.h.

#define QStringToFileName (   s)    s.toLocal8Bit().constData()

Converts a QString to a TagLib::FileName

Definition at line 39 of file qmmp.h.

#define qUtf8Printable (   s)    QString(s).toUtf8().constData()

Definition at line 47 of file qmmp.h.