diff -r 7a96bd401351 -r 6c199971ddb5 flagobj.cpp --- a/flagobj.cpp Sun Jan 30 12:58:47 2005 +0000 +++ b/flagobj.cpp Sat Jul 23 10:26:30 2005 +0000 @@ -30,6 +30,7 @@ void FlagObj::init () { name="undefined"; + group="undefined"; icon=new ImageObj (canvas); icon->move (absPos.x(), absPos.y() ); @@ -41,6 +42,7 @@ { MapObj::copy(other); name=other->name; + group=other->group; tooltip=other->tooltip; state=other->state; icon->copy(other->icon); @@ -95,6 +97,16 @@ return name; } +void FlagObj::setGroup (const QString &n) +{ + group=n; +} + +const QString FlagObj::getGroup() +{ + return group; +} + void FlagObj::setToolTip(const QString &n) { tooltip=n;