summaryrefslogtreecommitdiff
path: root/databasetable.h
diff options
context:
space:
mode:
Diffstat (limited to 'databasetable.h')
-rw-r--r--databasetable.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/databasetable.h b/databasetable.h
index e11b152..b1711bf 100644
--- a/databasetable.h
+++ b/databasetable.h
@@ -19,19 +19,19 @@
#include <QGraphicsItem>
#include <QPainter>
-#include "databasemodelitem.h"
+#include "diagramobject.h"
class Column;
class ColumnList;
class DatabaseModel;
-class DatabaseTable : public QObject, public DatabaseModelItem
+class DatabaseTable : public DiagramObject
{
Q_OBJECT
Q_PROPERTY(QString name READ name WRITE setName)
public:
- DatabaseTable(QGraphicsItem *parent = 0);
+ DatabaseTable(DiagramItem *parent = 0);
DatabaseModel *model() const;
@@ -48,7 +48,7 @@ public:
// Column *addColumn(const QString &name = QString());
// void swapColumns(int index1, int index2);
- enum { Type = DatabaseModelItem::Table };
+ enum { Type = DiagramItem::Table };
virtual int type() const { return Type; }
signals: