MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
Ms::ImageStoreItem Class Reference

#include <imageStore.h>

Public Member Functions

 ImageStoreItem (const QString &p)
 
void dereference (Image *)
 
void reference (Image *)
 
const QString & path () const
 
QByteArray & buffer ()
 
const QByteArray & buffer () const
 
bool loaded () const
 
void setPath (const QString &val)
 
bool isUsed (Score *) const
 
bool isUsed () const
 
void load ()
 
QString hashName () const
 
const QByteArray & hash () const
 
void set (const QByteArray &b, const QByteArray &h)
 

Private Attributes

QList< Image * > _references
 
QString _path
 
QString _type
 
QByteArray _buffer
 
QByteArray _hash
 

Constructor & Destructor Documentation

◆ ImageStoreItem()

Ms::ImageStoreItem::ImageStoreItem ( const QString &  p)

Member Function Documentation

◆ buffer() [1/2]

QByteArray& Ms::ImageStoreItem::buffer ( )
inline

◆ buffer() [2/2]

const QByteArray& Ms::ImageStoreItem::buffer ( ) const
inline

◆ dereference()

void Ms::ImageStoreItem::dereference ( Image image)

◆ hash()

const QByteArray& Ms::ImageStoreItem::hash ( ) const
inline

◆ hashName()

QString Ms::ImageStoreItem::hashName ( ) const

◆ isUsed() [1/2]

bool Ms::ImageStoreItem::isUsed ( Score score) const

◆ isUsed() [2/2]

bool Ms::ImageStoreItem::isUsed ( ) const
inline

◆ load()

void Ms::ImageStoreItem::load ( )

◆ loaded()

bool Ms::ImageStoreItem::loaded ( ) const
inline

◆ path()

const QString& Ms::ImageStoreItem::path ( ) const
inline

◆ reference()

void Ms::ImageStoreItem::reference ( Image image)

◆ set()

void Ms::ImageStoreItem::set ( const QByteArray &  b,
const QByteArray &  h 
)
inline

◆ setPath()

void Ms::ImageStoreItem::setPath ( const QString &  val)

Member Data Documentation

◆ _buffer

QByteArray Ms::ImageStoreItem::_buffer
private

◆ _hash

QByteArray Ms::ImageStoreItem::_hash
private

◆ _path

QString Ms::ImageStoreItem::_path
private

◆ _references

QList<Image*> Ms::ImageStoreItem::_references
private

◆ _type

QString Ms::ImageStoreItem::_type
private

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