DropMimeData Class | Extending Qt Creator Manual

Extending Qt Creator Manual | DropMimeData

Extending Qt Creator Manual 4.6.0

# DropMimeData Class

(Utils::DropMimeData)

- List of all members, including inherited members

## Public Functions

| DropMimeData()
void | addFile(const QString &filePath, int line = -1, int column = -1)
void | addValue(const QVariant &value)
QList<DropSupport::FileSpec> | files() const
bool | isOverridingFileDropAction() const
Qt::DropAction | overrideFileDropAction() const
void | setOverrideFileDropAction(Qt::DropAction action)
QList<QVariant> | values() const

## Member Function Documentation

### DropMimeData::DropMimeData()

Default constructs an instance of DropMimeData.

### void DropMimeData::addFile(const QString &filePath, int line = -1, int column = -1)

### void DropMimeData::addValue(const QVariant &value)

### QList<DropSupport::FileSpec> DropMimeData::files() const

### bool DropMimeData::isOverridingFileDropAction() const

### Qt::DropAction DropMimeData::overrideFileDropAction() const

See also setOverrideFileDropAction().

### void DropMimeData::setOverrideFileDropAction(Qt::DropAction action)

See also overrideFileDropAction().

### QList<QVariant> DropMimeData::values() const