diff -r 7ea31701156e -r 7f43b93242aa mapeditor.h --- a/mapeditor.h Tue Aug 05 07:36:53 2008 +0000 +++ b/mapeditor.h Mon Oct 06 11:10:20 2008 +0000 @@ -2,10 +2,10 @@ #define MAPEDITOR_H #include +#include #include "attribute.h" #include "ornamentedobj.h" -#include "selection.h" // FIXME should not be needed #include "settings.h" #include "vymmodel.h" @@ -92,8 +92,12 @@ QPoint exportOffset; // set before export, used in save - Selection xelection; // FIXME only here to get rid of some gcc errors... - QString getName(const LinkableMapObj*); // FIXME see above, renamed to getObjectName in VymModel... +public: + void setSelectionModel (QItemSelectionModel*); + QItemSelectionModel* selectionModel(); +private: + QItemSelectionModel* selModel; // we treat MapEditor as View here... + }; #endif