10 /*! \brief A key and a value
13 class Attribute:public XMLObj {
16 void setKey (const QString &k);
18 void setValue (const QString &v);
20 void setTable (AttributeTable *at);
21 AttributeTable* getTable();
26 AttributeTable *table;
29 /*! \brief A table containing a list of keys and each of these keys has
30 a list of default values. The keys and the values for each key are
33 class AttributeTable:public XMLObj{
38 void addKey (const QString &k); //!< Adds a key to the table
39 void removeKey (const QString &k); //!< Removes key and its default values
40 int countKeys(); //!< Return number of keys
41 void addValue (const QString &k, const QString &v); //!< Adds key and value
42 QStringList getKeys ();
43 QStringList getValues(const QString &k);
48 QList <QStringList> values;