10 /*! \brief A set of flags (Flag).
12 A toolbar can be created from the flags in this row.
13 The data needed for represention in a vym map
14 is stored in FlagRowObj.
17 class FlagRow:public XMLObj {
21 void addFlag (Flag *flag);
22 Flag *getFlag (const QString &name);
23 QStringList activeFlagNames();
24 bool isActive(const QString &name);
26 /*! \brief Toggle a Flag
28 To activate a flag it will be copied from masterRow to current row.
30 bool toggle (const QString&, FlagRow *masterRow=NULL);
31 bool activate(const QString&);
32 bool deactivate(const QString&);
33 bool deactivateGroup(const QString&);
35 void setEnabled (bool);
36 void resetUsedCounter();
37 QString saveToDir (const QString &,const QString &,bool);
38 void setName (const QString&); // prefix for exporting flags to dir
39 void setToolBar (QToolBar *tb);
40 void setMasterRow (FlagRow *row);
41 void updateToolBar(const QStringList &activeNames);
47 QStringList activeNames; //! Lists all names of currently active flags
48 QString rowName; //! Name of this collection of flags