mapobj.cpp
changeset 129 9b9c7e8b9147
parent 93 31c6ce8efbc7
child 166 325958acb69b
     1.1 --- a/mapobj.cpp	Wed Jul 13 11:36:15 2005 +0000
     1.2 +++ b/mapobj.cpp	Tue Jul 19 14:44:30 2005 +0000
     1.3 @@ -1,4 +1,5 @@
     1.4  #include "mapobj.h"
     1.5 +#include "misc.h"
     1.6  
     1.7  /////////////////////////////////////////////////////////////////
     1.8  // MapObj
     1.9 @@ -70,6 +71,11 @@
    1.10      return bbox.height();
    1.11  }
    1.12  
    1.13 +QString MapObj::getPos()
    1.14 +{
    1.15 +	return qpointToString(absPos);
    1.16 +}
    1.17 +
    1.18  void MapObj::move (double x, double y) 
    1.19  {
    1.20      int xi=static_cast <int> (x);