TTKMusicPlayer  4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Namespaces | Macros | Functions
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...
 

Namespaces

 std
 

Macros

#define QMMP_VERSION_MAJOR   1
 
#define QMMP_VERSION_MINOR   7
 
#define QMMP_VERSION_PATCH   7
 
#define QMMP_VERSION_STABLE   1
 
#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()
 
#define qAsConst   std::as_const
 

Functions

template<typename T >
Q_DECL_CONSTEXPR std::add_const< T >::type & std::as_const (T &t) noexcept
 
template<typename T >
void std::as_const (const T &&)=delete
 

Macro Definition Documentation

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

Definition at line 55 of file qmmp.h.

#define qAsConst   std::as_const

Definition at line 72 of file qmmp.h.

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

Definition at line 32 of file qmmp.h.

#define QMMP_VERSION_MAJOR   1

Definition at line 27 of file qmmp.h.

#define QMMP_VERSION_MINOR   7

Definition at line 28 of file qmmp.h.

#define QMMP_VERSION_PATCH   7

Definition at line 29 of file qmmp.h.

#define QMMP_VERSION_STABLE   1

Definition at line 30 of file qmmp.h.

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

Definition at line 52 of file qmmp.h.

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

Definition at line 44 of file qmmp.h.

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

Converts a QString to a TagLib::FileName

Definition at line 40 of file qmmp.h.

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

Definition at line 48 of file qmmp.h.