
#include <qtflickr.h>
Public Attributes | |
| QMultiMap< QString, QtfTag > | tags |
Structure holds data from XML parser. it will includes only those values that has been setted with the QtfRequest structure
Example:
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <photos page="2" pages="89" perpage="10" total="881"> <photo id="2636" owner="47058503995@N01"/> <photo id="2635" owner="47058503995@N01"/> </photos> <name>cat</name> </rsp>
If you want to get page number and name from XML above:
QString page = response.tags.value("photos").attrs.value("page"); qDebug()<<page //output: 2 QString name = response.tags.value("name").value; qDebug()<<name //output: cat