summaryrefslogtreecommitdiff
path: root/src/diagramobject.h
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2008-12-07 14:59:49 +0100
committerLukáš Lalinský <lalinsky@gmail.com>2008-12-07 14:59:49 +0100
commit788d1af4dccb754cd2a57cc968f2d46651a95291 (patch)
tree0ac449f8e64bd61aebafad2c771e147885e3e3d8 /src/diagramobject.h
parent8899b36403190fa6dc7e37be60944e0ff43e1b2b (diff)
downloaddbmodel-788d1af4dccb754cd2a57cc968f2d46651a95291.tar.xz
Simple copy/paste framework
Diffstat (limited to 'src/diagramobject.h')
-rw-r--r--src/diagramobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/diagramobject.h b/src/diagramobject.h
index 1ca086e..c7b4dd3 100644
--- a/src/diagramobject.h
+++ b/src/diagramobject.h
@@ -18,11 +18,15 @@
#define DIAGRAMOBJECT_H
#include "diagramitem.h"
+class QMimeData;
class DiagramObject : public DiagramItem
{
public:
DiagramObject(DiagramItem *parent = 0);
+
+ virtual QMimeData *toMimeData();
+ static DiagramObject *fromMimeData(const QMimeData *mimeData);
};
#endif