Miam-Player  0.8.0
A nice music player
Cover Class Reference

The Cover class. More...

#include <cover.h>

Public Member Functions

 Cover (const QByteArray &byteArray, const QString &mimeType=QString())
 
 Cover (const QString &fileName)
 
std::string mimeType () const
 
const QByteArray byteArray () const
 
const char * format ()
 
bool hasChanged () const
 
void setChanged (bool changed)
 

Detailed Description

The Cover class.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

◆ Cover() [1/2]

Cover::Cover ( const QByteArray &  byteArray,
const QString &  mimeType = QString() 
)

◆ Cover() [2/2]

Cover::Cover ( const QString &  fileName)

Constructor used when loading pictures directly from the filesystem (drag & drop or with the context menu).

Member Function Documentation

◆ byteArray()

const QByteArray Cover::byteArray ( ) const
inline

◆ format()

const char* Cover::format ( )
inline

◆ hasChanged()

bool Cover::hasChanged ( ) const
inline

◆ mimeType()

std::string Cover::mimeType ( ) const
inline

◆ setChanged()

void Cover::setChanged ( bool  changed)
inline

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