Krita Source Code Documentation
Loading...
Searching...
No Matches
KoDrag.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2007 Thorsten Zachmann <zachmann@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KODRAG_H
8#define KODRAG_H
9
10#include "kritaflake_export.h"
11
12#include <QList>
13
14class QMimeData;
15class QString;
16class QByteArray;
17class KoDragPrivate;
18class KoShape;
19
28class KRITAFLAKE_EXPORT KoDrag
29{
30public:
31 KoDrag();
32 ~KoDrag();
33
34
38 bool setSvg(const QList<KoShape*> shapes);
39
43 void setData(const QString &mimeType, const QByteArray &data);
44
48 void addToClipboard();
49
57 QMimeData *mimeData();
58
59private:
61};
62
63#endif /* KODRAG_H */
KoDragPrivate *const d
Definition KoDrag.h:60