mapobj.cpp
changeset 158 a33a2bdd8299
parent 93 31c6ce8efbc7
child 166 325958acb69b
     1.1 --- a/mapobj.cpp	Thu Mar 24 21:10:38 2005 +0000
     1.2 +++ b/mapobj.cpp	Tue Aug 30 14:09:19 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);