mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-05-26 04:17:10 +00:00
Add Qt libs and headers
This commit is contained in:
61
paho-mqtt3as-proxy/Qt/include/QtCore/qmimedata.h
Normal file
61
paho-mqtt3as-proxy/Qt/include/QtCore/qmimedata.h
Normal file
@@ -0,0 +1,61 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
#ifndef QMIMEDATA_H
|
||||
#define QMIMEDATA_H
|
||||
|
||||
#include <QtCore/qvariant.h>
|
||||
#include <QtCore/qobject.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QUrl;
|
||||
class QMimeDataPrivate;
|
||||
|
||||
class Q_CORE_EXPORT QMimeData : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QMimeData();
|
||||
~QMimeData();
|
||||
|
||||
QList<QUrl> urls() const;
|
||||
void setUrls(const QList<QUrl> &urls);
|
||||
bool hasUrls() const;
|
||||
|
||||
QString text() const;
|
||||
void setText(const QString &text);
|
||||
bool hasText() const;
|
||||
|
||||
QString html() const;
|
||||
void setHtml(const QString &html);
|
||||
bool hasHtml() const;
|
||||
|
||||
QVariant imageData() const;
|
||||
void setImageData(const QVariant &image);
|
||||
bool hasImage() const;
|
||||
|
||||
QVariant colorData() const;
|
||||
void setColorData(const QVariant &color);
|
||||
bool hasColor() const;
|
||||
|
||||
QByteArray data(const QString &mimetype) const;
|
||||
void setData(const QString &mimetype, const QByteArray &data);
|
||||
void removeFormat(const QString &mimetype);
|
||||
|
||||
virtual bool hasFormat(const QString &mimetype) const;
|
||||
virtual QStringList formats() const;
|
||||
|
||||
void clear();
|
||||
|
||||
protected:
|
||||
virtual QVariant retrieveData(const QString &mimetype, QMetaType preferredType) const;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(QMimeData)
|
||||
Q_DECLARE_PRIVATE(QMimeData)
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QMIMEDATA_H
|
||||
Reference in New Issue
Block a user