QMetadataModel::QMetadataModel |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
int QMetadataModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
QMetadataModel::columnCount Returns the number of columns.
Returns the number of columns.
- Parameters
-
- Returns
- returns the number of columns.
QVariant QMetadataModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
QMetadataModel::data Returns the metadata atribute data.
Returns the metadata atribute data.
- Parameters
-
index | a QModelIndex. |
role | an integer. |
- Returns
- returns returns the metadata information as a QVariant.
QMetadataModelPrivate::entryAdded Appends a metadata entry.
Updates the metadata model after adding a metadata entry.
- Parameters
-
QMetadataModelPrivate::entryRemoved Removes a metadata entry.
Updates the metadata model after removing a metadata entry.
- Parameters
-
QVariant QMetadataModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
QMetadataModel::headerData Returns the metadata header data.
Returns the metadata header data as a QVariant.
- Parameters
-
section | an integer that represents the section. |
orientation | the horizontal and vertical orientation. |
role | an integer that is the role. |
- Returns
- returns the metadata header data as a QVariant.
QModelIndex QMetadataModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
QMetadataModel::index Creates an index.
Creates an index.
- Parameters
-
row | the row. |
column | the column |
parent | the parent. |
- Returns
- returns a QModelIndex.
void QMetadataModel::metaDataReceived |
( |
QList< MetadataEntry * > * |
list | ) |
|
|
slot |
QMetadataModelPrivate::metaDataReceived Confirms that the metadata has been received.
Confirms that the metadata has been received.
- Parameters
-
int QMetadataModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
QMetadataModel::rowCount Returns the number of rows.
Returns the number of rows.
- Parameters
-
- Returns
- returns the number of rows.
void QMetadataModel::setDataPath |
( |
QString & |
dataObj | ) |
|
The documentation for this class was generated from the following files: