LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Media::AudioInfo Struct Reference

Describes a single audio track. More...

#include "audiostructs.h"

Public Member Functions

bool operator== (const AudioInfo &other) const
 Returns whether this audio info is equal to another one. More...
 
bool operator!= (const AudioInfo &other) const
 Returns whether this info isn't equal to another one. More...
 

Public Attributes

QString Artist_
 The artist performing this track. More...
 
QString Album_
 The album this track is on. More...
 
QString Title_
 The title of this track. More...
 
QStringList Genres_
 The genres of this track. More...
 
qint32 Length_
 The length of this track in seconds. More...
 
qint32 Year_
 The year of the Album_ this track is on. More...
 
qint32 TrackNumber_
 The number of this track on the Album_. More...
 
QVariantMap Other_
 Other fields of this audio info. More...
 

Detailed Description

Describes a single audio track.

Definition at line 40 of file audiostructs.h.

Member Function Documentation

bool Media::AudioInfo::operator!= ( const AudioInfo other) const
inline

Returns whether this info isn't equal to another one.

Definition at line 94 of file audiostructs.h.

bool Media::AudioInfo::operator== ( const AudioInfo other) const
inline

Returns whether this audio info is equal to another one.

Definition at line 80 of file audiostructs.h.

References Album_, Artist_, Genres_, Length_, Other_, Title_, TrackNumber_, and Year_.

Member Data Documentation

QString Media::AudioInfo::Album_

The album this track is on.

Definition at line 48 of file audiostructs.h.

Referenced by operator==().

QString Media::AudioInfo::Artist_

The artist performing this track.

Definition at line 44 of file audiostructs.h.

Referenced by operator==().

QStringList Media::AudioInfo::Genres_

The genres of this track.

Definition at line 56 of file audiostructs.h.

Referenced by operator==().

qint32 Media::AudioInfo::Length_

The length of this track in seconds.

Definition at line 60 of file audiostructs.h.

Referenced by operator==().

QVariantMap Media::AudioInfo::Other_

Other fields of this audio info.

Other fields known to be used:

  • URL with a QUrl pointing to either local file (if the scheme is "file:") or a remote file or radio stream otherwise.

Definition at line 76 of file audiostructs.h.

Referenced by operator==().

QString Media::AudioInfo::Title_

The title of this track.

Definition at line 52 of file audiostructs.h.

Referenced by operator==().

qint32 Media::AudioInfo::TrackNumber_

The number of this track on the Album_.

Definition at line 68 of file audiostructs.h.

Referenced by operator==().

qint32 Media::AudioInfo::Year_

The year of the Album_ this track is on.

Definition at line 64 of file audiostructs.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: