summaryrefslogtreecommitdiff
path: root/databasemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'databasemodel.h')
-rw-r--r--databasemodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/databasemodel.h b/databasemodel.h
index 10efed3..eeb79a1 100644
--- a/databasemodel.h
+++ b/databasemodel.h
@@ -24,7 +24,7 @@
#include <QGraphicsLineItem>
class DatabaseTable;
-class DatabaseRelation;
+class DatabaseRelationship;
class DatabaseModel : public QGraphicsScene
{
@@ -44,7 +44,7 @@ public:
DatabaseTable *selectedTable();
void deleteSelectedItems();
- QList<DatabaseRelation *> findTableRelations(DatabaseTable *table);
+ QList<DatabaseRelationship *> findTableRelations(DatabaseTable *table);
void save(const QString &fileName);
void load(const QString &fileName);
@@ -74,7 +74,7 @@ private:
QString m_fileName;
QGraphicsLineItem *m_line;
QList<DatabaseTable *> m_tables;
- QList<DatabaseRelation *> m_relations;
+ QList<DatabaseRelationship *> m_relations;
};
#endif