Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/kis_mimedata.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
73 | */ | 73 | */ | ||
74 | static KisNodeList loadNodes(const QMimeData *data, | 74 | static KisNodeList loadNodes(const QMimeData *data, | ||
75 | const QRect &imageBounds, | 75 | const QRect &imageBounds, | ||
76 | const QPoint &preferredCenter, | 76 | const QPoint &preferredCenter, | ||
77 | bool forceRecenter, | 77 | bool forceRecenter, | ||
78 | KisImageWSP image, | 78 | KisImageWSP image, | ||
79 | KisShapeController *shapeController); | 79 | KisShapeController *shapeController); | ||
80 | 80 | | |||
81 | static KisNodeList loadNodesFast( | ||||
82 | const QMimeData *data, | ||||
83 | KisImageSP image, | ||||
84 | KisShapeController *shapeController, | ||||
85 | bool ©Node); | ||||
86 | | ||||
81 | private: | 87 | private: | ||
82 | /** | 88 | /** | ||
83 | * Try load the node, which belongs to the same Krita instance, | 89 | * Try load the node, which belongs to the same Krita instance, | ||
84 | * that is can be fetched without serialization | 90 | * that is can be fetched without serialization | ||
85 | */ | 91 | */ | ||
86 | static KisNodeList tryLoadInternalNodes(const QMimeData *data, | 92 | static KisNodeList tryLoadInternalNodes(const QMimeData *data, | ||
87 | KisImageSP image, | 93 | KisImageSP image, | ||
88 | KisShapeController *shapeController, | 94 | KisShapeController *shapeController, | ||
Show All 30 Lines |