Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qmimedata.cpp File Reference

(038c199d59ff5e9e16fe2a010f3f1f55764cf5ba)

#include "qmimedata.h"
#include "private/qobject_p.h"
#include "qurl.h"
#include "qstringlist.h"
#include "qstringconverter.h"
#include "moc_qmimedata.cpp"
+ Include dependency graph for qmimedata.cpp:

Go to the source code of this file.

Classes

struct  QMimeDataStruct
 
class  QMimeDataPrivate
 

Functions

static QString textUriListLiteral ()
 
static QString textHtmlLiteral ()
 
static QString textPlainLiteral ()
 
static QString textPlainUtf8Literal ()
 
static QString applicationXColorLiteral ()
 
static QString applicationXQtImageLiteral ()
 
 Q_DECLARE_TYPEINFO (QMimeDataStruct, Q_RELOCATABLE_TYPE)
 
static QList< QVariantdataToUrls (QByteArrayView text)
 

Function Documentation

◆ applicationXColorLiteral()

static QString applicationXColorLiteral ( )
inlinestatic

Definition at line 19 of file qmimedata.cpp.

Referenced by QMimeData::colorData(), QMimeData::hasColor(), and QMimeData::setColorData().

+ Here is the caller graph for this function:

◆ applicationXQtImageLiteral()

static QString applicationXQtImageLiteral ( )
inlinestatic

Definition at line 20 of file qmimedata.cpp.

Referenced by QMimeData::hasImage(), QMimeData::imageData(), and QMimeData::setImageData().

+ Here is the caller graph for this function:

◆ dataToUrls()

static QList< QVariant > dataToUrls ( QByteArrayView text)
static

Definition at line 79 of file qmimedata.cpp.

References begin(), QString::data(), QString::end(), QUrl::fromEncoded(), QString::indexOf(), list, QList< T >::push_back(), QString::size(), text, and QByteArrayView::trimmed().

Referenced by QMimeDataPrivate::retrieveTypedData(), and QMimeData::setData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( QMimeDataStruct ,
Q_RELOCATABLE_TYPE  )

◆ textHtmlLiteral()

static QString textHtmlLiteral ( )
inlinestatic

Definition at line 16 of file qmimedata.cpp.

Referenced by QMimeData::hasHtml(), QMimeData::html(), and QMimeData::setHtml().

+ Here is the caller graph for this function:

◆ textPlainLiteral()

static QString textPlainLiteral ( )
inlinestatic

Definition at line 17 of file qmimedata.cpp.

Referenced by QMimeData::hasText(), QMimeData::setText(), and QMimeData::text().

+ Here is the caller graph for this function:

◆ textPlainUtf8Literal()

static QString textPlainUtf8Literal ( )
inlinestatic

Definition at line 18 of file qmimedata.cpp.

Referenced by QMimeData::text().

+ Here is the caller graph for this function:

◆ textUriListLiteral()

static QString textUriListLiteral ( )
inlinestatic

Definition at line 15 of file qmimedata.cpp.

Referenced by QMimeData::hasUrls(), QMimeDataPrivate::retrieveTypedData(), QMimeData::setUrls(), and QMimeData::urls().

+ Here is the caller graph for this function: