diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-19 14:50:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-19 14:50:24 +0000 |
commit | 7a9c504720e494ee07d16a6234b77c500af4da93 (patch) | |
tree | f7e66125b2c4c39f2007823c27dcc9b13d2b927b /src/sidebar.h | |
parent | 46f48143ed59eddafa86f2711f518792f362a46c (diff) |
Renamed class MapEntity to EntityWidget, added entity dragging.
Diffstat (limited to 'src/sidebar.h')
-rw-r--r-- | src/sidebar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sidebar.h b/src/sidebar.h index 78a62f2..48fcafe 100644 --- a/src/sidebar.h +++ b/src/sidebar.h @@ -17,7 +17,7 @@ class QTextEdit; namespace editor { -class MapEntity; +class EntityWidget; /** * @brief Sidebar is the EditorWindow sidebar @@ -32,7 +32,7 @@ public: SideBar(QWidget *parent = 0); public slots: - void setEntity(MapEntity *entity); + void setEntity(EntityWidget *entity); void setZoneName(const QString &name); @@ -54,7 +54,7 @@ private: QLineEdit *edit_entitylocation_z; QTextEdit *text_entityproperties; - MapEntity *last_selected; + EntityWidget *last_selected; }; } |