#include <iMimeData.h>
◆ ~iMimeData()
virtual igor::iMimeData::~iMimeData |
( |
| ) |
|
|
virtualdefault |
◆ clear()
void igor::iMimeData::clear |
( |
| ) |
|
◆ getData()
void igor::iMimeData::getData |
( |
const iaString & |
mimeType, |
|
|
uint8 ** |
data, |
|
|
uint32 & |
dataSize |
|
) |
| const |
returns the mime data
- Parameters
-
| mimeType | the type to access |
[out] | data | pointer to data (iMimeData keeps ownership) |
[out] | dataSize | size of data |
◆ getResourceID()
◆ getText()
const iaString igor::iMimeData::getText |
( |
| ) |
const |
- Returns
- plain text if there is any
◆ getWidgetID()
iWidgetID igor::iMimeData::getWidgetID |
( |
| ) |
const |
◆ hasResourceID()
bool igor::iMimeData::hasResourceID |
( |
| ) |
const |
- Returns
- true if mime type "application/vnd.igor.resource-id" is present
◆ hasText()
bool igor::iMimeData::hasText |
( |
| ) |
const |
- Returns
- true if mime type "text/plain" is present
◆ hasType()
bool igor::iMimeData::hasType |
( |
const iaString & |
mimeType | ) |
const |
- Returns
- true if mime data contains given mime type
◆ hasWidgetID()
bool igor::iMimeData::hasWidgetID |
( |
| ) |
const |
- Returns
- true if mime type "application/vnd.igor.widget-id" is present
◆ operator!=()
bool igor::iMimeData::operator!= |
( |
const iMimeData & |
other | ) |
const |
compare two mime data sets for being not equal
- Returns
- true if not equal
- Parameters
-
◆ operator==()
bool igor::iMimeData::operator== |
( |
const iMimeData & |
other | ) |
const |
compare two mime data sets
- Returns
- true if equal
- Parameters
-
◆ setData()
void igor::iMimeData::setData |
( |
const iaString & |
mimeType, |
|
|
const uint8 * |
data, |
|
|
uint32 |
dataSize |
|
) |
| |
sets mime data
- Parameters
-
mimeType | the type to use |
data | the actual data (makes a copy and keeps ownership) |
dataSize | size of data |
◆ setResourceID()
void igor::iMimeData::setResourceID |
( |
iResourceID |
resourceID | ) |
|
sets mime type "application/vnd.igor.resource-id"
- Parameters
-
resourceID | the resource id to set |
◆ setText()
void igor::iMimeData::setText |
( |
const iaString & |
text | ) |
|
sets text for mime type "text/plain"
- Parameters
-
◆ setWidgetID()
void igor::iMimeData::setWidgetID |
( |
iWidgetID |
widgetID | ) |
|
sets mime type "application/vnd.igor.widget-id"
- Parameters
-
widgetID | the widget id to set |
The documentation for this class was generated from the following files: