tagset.h
bool containsID(const TQString &id) const
returns true if this set contains a tag with a given ID
Definition: tagset.cpp:75
represents a set of tags (see Tag) In an application, there is usually one central tag set that is us...
Definition: tagset.h:47
void readFromXML(const TQDomDocument &doc)
reads tag set from XML see toXML() for an explanation of the format
Definition: tagset.cpp:95
TQMap< TQString, Tag > toMap() const
returns the tag set as map ((id, Tag) pairs)
Definition: tagset.cpp:90
void signalTagUpdated(const Tag &)
emitted when a tag in this set was changed (e.g.
void signalTagAdded(const Tag &)
emitted when a tag was added to this tag set
void signalTagRemoved(const Tag &)
emitted when a tag was removed from this set
Tag findByID(const TQString &id) const
returns the tag with the given ID if the tag is element of the set, or a null tag if not
Definition: tagset.cpp:85
void tagUpdated(const Tag &tag)
called by the tag (Tag is friend class) after a change
Definition: tagset.cpp:127