- Make the Win32 call to "unzip" use a minimized window.
- Clean up process and thread handles from "unzip".
9 void Attribute::setKey (const QString &k)
14 QString Attribute::getKey ()
19 void Attribute::setValue(const QString &v)
24 QString Attribute::getValue()
29 void Attribute::setTable (AttributeTable *at)
34 AttributeTable* Attribute::getTable()
39 QString Attribute::getDataXML()
41 return valueElement ("attribute",key,value);
45 ///////////////////////////////////////////////////////////////
46 AttributeTable::AttributeTable()
51 AttributeTable::~AttributeTable()
55 void AttributeTable::clear ()
61 void AttributeTable::addKey (const QString &k)
63 if (!keys.contains (k) )
66 values.append (QStringList() );
70 void AttributeTable::removeKey (const QString &k)
72 int i=keys.indexOf (k);
80 int AttributeTable::countKeys()
85 void AttributeTable::addValue (const QString &k, const QString &v)
87 int i=keys.indexOf (k);
91 values.append (QStringList (v));
94 int j=values.at(i).indexOf(k);
95 if (j<0) values[i].append (QString(v));
99 QStringList AttributeTable::getKeys ()
104 QStringList AttributeTable::getValues(const QString &k)
106 int i=keys.indexOf (k);
110 return QStringList();
113 QString AttributeTable::getDataXML()
115 return valueElement ("attributeList","key","value");