QtfResponse Struct Reference

#include <qtflickr.h>

List of all members.

Public Attributes

QMultiMap< QString, QtfTagtags

Detailed Description

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

The documentation for this struct was generated from the following file:

Generated on Tue Mar 2 16:37:30 2010 for QtFlickrAPI by Doxygen 1.6.1