72 const QByteArray &chunk)
74 Pair p(property, chunk);
82 foreach(
const Pair &p, QList<Pair>(*
this)) {
83 if (p.first == property)
93 foreach(
const Pair &p, QList<Pair>(*
this)) {
94 if (p.first == property)
103 foreach(
const Pair &p, QList<Pair>(*
this)) {
104 if (p.second == chunk)
113 QList<QByteArray> list;
114 foreach(
const Pair &p, QList<Pair>(*
this)) {
115 if (!list.contains(p.second))
116 list.append(p.second);
123 const QByteArray &chunk)
const 125 foreach(
const Pair &p, QList<Pair>(*
this)) {
126 if (p.second == chunk)
return p.first;
134 QList<Kwave::FileProperty> list;
135 foreach(
const Pair &p, QList<Pair>(*
this)) {
136 if (!list.contains(p.first))
137 list.append(p.first);
QByteArray findProperty(const Kwave::FileProperty property) const
Kwave::FileProperty property(const QByteArray &chunk) const
bool containsProperty(const Kwave::FileProperty property) const
void insert(const Kwave::FileProperty property, const QByteArray &chunk)
QList< Kwave::FileProperty > properties() const
QPair< Kwave::FileProperty, QByteArray > Pair
bool containsChunk(const QByteArray &chunk) const
QList< QByteArray > chunks() const