diff -r c2a05fa925a1 -r 497fab7d1404 mapobj.h --- a/mapobj.h Fri Dec 08 20:18:56 2006 +0000 +++ b/mapobj.h Tue Jun 19 14:20:30 2007 +0000 @@ -18,6 +18,9 @@ #define Z_ICON 80 #define Z_TEXT 100 +/*! \brief Base class for all objects visible on a map +*/ + class MapObj:public xmlObj { public: MapObj (); @@ -44,6 +47,7 @@ virtual void setVisibility(bool); virtual void positionBBox()=0; virtual void calcBBoxSize()=0; + virtual void animate(); // called by timer for animated objects protected: QGraphicsScene* scene; QRectF bbox; // bounding box of MO itself