Phonon
objectdescriptionmodel.cpp
60 struct qt_meta_stringdata_Phonon__ObjectDescriptionModel_##name##_t { QByteArrayData data[1]; char stringdata[stringlenplustwo]; }; \
61 static const qt_meta_stringdata_Phonon__ObjectDescriptionModel_##name##_t qt_meta_stringdata_Phonon__ObjectDescriptionModel_##name = { \
63 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(stringlen, offsetof(qt_meta_stringdata_Phonon__ObjectDescriptionModel_ ## name ## _t, stringdata) + 0 - 0 * sizeof(QByteArrayData)) \
69 struct qt_meta_stringdata_Phonon__ObjectDescriptionModel_##name##_t { const uint offsetsAndSize[2]; char stringdata[stringlenplustwo]; }; \
70 static const qt_meta_stringdata_Phonon__ObjectDescriptionModel_##name##_t qt_meta_stringdata_Phonon__ObjectDescriptionModel_##name = { \
72 uint(offsetof(qt_meta_stringdata_Phonon__ObjectDescriptionModel_ ## name ## _t, stringdata)), stringlen \
107template<> const QMetaObject ObjectDescriptionModel<AudioCaptureDeviceType>::staticMetaObject = {
110template<> const QMetaObject ObjectDescriptionModel<VideoCaptureDeviceType>::staticMetaObject = {
232QMimeData *ObjectDescriptionModelData::mimeData(ObjectDescriptionType type, const QModelIndexList &indexes) const
297void ObjectDescriptionModelData::setModelData(const QList<QExplicitlySharedDataPointer<ObjectDescriptionData> > &newData)
304QList<QExplicitlySharedDataPointer<ObjectDescriptionData> > ObjectDescriptionModelData::modelData() const
309QExplicitlySharedDataPointer<ObjectDescriptionData> ObjectDescriptionModelData::modelData(const QModelIndex &index) const
323bool ObjectDescriptionModelData::dropMimeData(ObjectDescriptionType type, const QMimeData *data, Qt::DropAction action,
396 return QStringList(QLatin1String("application/x-phonon-objectdescription") + QString::number(static_cast<int>(type)));
Qt::ItemFlags flags(const QModelIndex &index) const
Reimplemented to show unavailable devices as disabled (but still selectable).
Definition objectdescriptionmodel.cpp:205
int rowCount(const QModelIndex &parent=QModelIndex()) const
Returns the number of rows in the model.
Definition objectdescriptionmodel.cpp:150
int tupleIndexAtPositionIndex(int positionIndex) const
Returns the ObjectDescription::index for the tuple at the given position positionIndex.
Definition objectdescriptionmodel.cpp:227
void moveDown(const QModelIndex &index)
Moves the item at the given index down.
Definition objectdescriptionmodel.cpp:268
QMimeData * mimeData(ObjectDescriptionType type, const QModelIndexList &indexes) const
Returns the MIME data that dropMimeData() can use to create new items.
Definition objectdescriptionmodel.cpp:232
QList< int > tupleIndexOrder() const
Returns a list of indexes in the same order as they are in the model.
Definition objectdescriptionmodel.cpp:218
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Returns data from the item with the given index for the specified role.
Definition objectdescriptionmodel.cpp:158
void moveUp(const QModelIndex &index)
Moves the item at the given index up.
Definition objectdescriptionmodel.cpp:249
The ObjectDescriptionModel class provides a model from a list of ObjectDescription objects.
Definition objectdescriptionmodel.h:192
PHONON_TEMPLATE_CLASS_MEMBER_EXPORT const QMetaObject * metaObject() const override
Definition objectdescriptionmodel.cpp:124
static PHONON_TEMPLATE_CLASS_MEMBER_EXPORT const QMetaObject staticMetaObject
Definition objectdescriptionmodel.h:195
PHONON_TEMPLATE_CLASS_MEMBER_EXPORT void * qt_metacast(const char *_clname) override
Definition objectdescriptionmodel.cpp:130
WriteOnly
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
qsizetype count() const const
T & first()
qsizetype size() const const
void setData(const QString &mimeType, const QByteArray &data)
int column() const const
bool isValid() const const
int row() const const
QModelIndex sibling(int row, int column) const const
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
QString number(double n, char format, int precision)
typedef DropActions
EditRole
typedef ItemFlags
String
Type type() const const
void * data()
bool isValid() const const
bool toBool() const const
QString toString() const const
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.