Phonon
objectdescription.h
98class PHONON_EXPORT ObjectDescriptionData : public QSharedData //krazy:exclude=dpointer (it's protected, which should be fine for this type of class)
190 return ObjectDescription<T>(QExplicitlySharedDataPointer<ObjectDescriptionData>(ObjectDescriptionData::fromIndex(T, index)));
197 inline bool operator==(const ObjectDescription &otherDescription) const { //krazy:exclude=inline
205 inline bool operator!=(const ObjectDescription &otherDescription) const { //krazy:exclude=inline
233 inline QVariant property(const char *name) const { return d->property(name); } //krazy:exclude=inline
240 inline QList<QByteArray> propertyNames() const { return d->propertyNames(); } //krazy:exclude=inline
257 ObjectDescription(int index, const QHash<QByteArray, QVariant> &properties) : d(new ObjectDescriptionData(index, properties)) {}
Data class for objects describing devices or features of the backend.
Definition objectdescription.h:99
The ObjectDescriptionModel class provides a model from a list of ObjectDescription objects.
Definition objectdescriptionmodel.h:192
Provides a tuple of enduser visible name and description.
Definition objectdescription.h:183
bool operator==(const ObjectDescription &otherDescription) const
Returns true if this ObjectDescription describes the same as otherDescription; otherwise returns fals...
Definition objectdescription.h:197
QList< QByteArray > propertyNames() const
Returns all names that return valid data when property() is called.
Definition objectdescription.h:240
static ObjectDescription< T > fromIndex(int index)
Returns a new description object that describes the device/effect/codec/... with the given index.
Definition objectdescription.h:189
QVariant property(const char *name) const
Returns a named property.
Definition objectdescription.h:233
bool isValid() const
Returns true if the Tuple is valid (index != -1); otherwise returns false.
Definition objectdescription.h:246
QString description() const
Returns a description of the capture source.
Definition objectdescription.h:224
bool operator!=(const ObjectDescription &otherDescription) const
Returns false if this ObjectDescription describes the same as otherDescription; otherwise returns tru...
Definition objectdescription.h:205
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
QDebug & nospace()
QDebug & space()
QString toString(T &&object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.