Qmmp
Public Member Functions | List of all members
MetaDataItem Class Reference

#include <metadatamodel.h>

Public Member Functions

 MetaDataItem (const QString &name, const QVariant &value, const QString &suffix=QString())
 
const QString & name () const
 
void setName (const QString &name)
 
const QVariant & value () const
 
void setValue (const QString &value)
 
const QString & suffix () const
 
void setSuffix (const QString &suffix)
 

Detailed Description

Container of extra file/track property.

Author
Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru

Constructor & Destructor Documentation

◆ MetaDataItem()

MetaDataItem ( const QString &  name,
const QVariant &  value,
const QString &  suffix = QString() 
)

Constructor

Parameters
nameLocalized name of property.
valueProperty value.
suffixLocalized suffix of property (i.e. kB, kB/s, etc).

Member Function Documentation

◆ name()

const QString& name ( ) const

Returns localized name of property.

◆ setName()

void setName ( const QString &  name)

Changes localized name to name

◆ setSuffix()

void setSuffix ( const QString &  suffix)

Changes property suffix to suffixed

◆ setValue()

void setValue ( const QString &  value)

Returns value of property.

◆ suffix()

const QString& suffix ( ) const

Returns suffix of property.

◆ value()

const QVariant& value ( ) const

Returns property value.


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