Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 848

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgalleryresultset.cpp -->
  <title>Qt Mobility 1.2: QGalleryResultSet Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgallery.html">QtGallery</a></li>
<li>QGalleryResultSet</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGalleryResultSet Class Reference</h1>
<!-- $$$QGalleryResultSet-brief -->
<p>The QGalleryResultSet class provides a gallery response which returns the results of a query. <a href="#details">More...</a></p>
<!-- @@@QGalleryResultSet -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGalleryResultSet&gt;</span></pre><p><b>Inherits: </b><a href="qgalleryabstractresponse.html">QGalleryAbstractResponse</a>.</p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgalleryresultset-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#QGalleryResultSet">QGalleryResultSet</a></b> ( QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#dtor.QGalleryResultSet">~QGalleryResultSet</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#currentIndex">currentIndex</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#fetch">fetch</a></b> ( int <i>index</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#fetchFirst">fetchFirst</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#fetchLast">fetchLast</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#fetchNext">fetchNext</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#fetchPrevious">fetchPrevious</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemCount">itemCount</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVariant </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemId">itemId</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemType">itemType</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QUrl </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemUrl">itemUrl</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVariant </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#metaData">metaData</a></b> ( int <i>key</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGalleryProperty::Attributes </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#propertyAttributes">propertyAttributes</a></b> ( int <i>key</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#propertyKey">propertyKey</a></b> ( const QString &amp; <i>property</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QVariant::Type </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#propertyType">propertyType</a></b> ( int <i>key</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QGalleryResource&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#resources">resources</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#setMetaData">setMetaData</a></b> ( int <i>key</i>, const QVariant &amp; <i>value</i> ) = 0</td></tr>
</table>
<ul>
<li class="fn">6 public functions inherited from <a href="qgalleryabstractresponse.html#public-functions">QGalleryAbstractResponse</a></li>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#currentIndexChanged">currentIndexChanged</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#currentItemChanged">currentItemChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemsInserted">itemsInserted</a></b> ( int <i>index</i>, int <i>count</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemsMoved">itemsMoved</a></b> ( int <i>from</i>, int <i>to</i>, int <i>count</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#itemsRemoved">itemsRemoved</a></b> ( int <i>index</i>, int <i>count</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryresultset.html#metaDataChanged">metaDataChanged</a></b> ( int <i>index</i>, int <i>count</i>, const QList&lt;int&gt; &amp; <i>keys</i> )</td></tr>
</table>
<ul>
<li class="fn">4 signals inherited from <a href="qgalleryabstractresponse.html#signals">QGalleryAbstractResponse</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">3 protected functions inherited from <a href="qgalleryabstractresponse.html#protected-functions">QGalleryAbstractResponse</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGalleryResultSet-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGalleryResultSet class provides a gallery response which returns the results of a query.</p>
<p>Implementations of QGalleryResultSet are used to return a result set in response to a <a href="qgalleryabstractrequest.html">QGalleryAbstractRequest</a>. A QGalleryResultSet provides functions for accessing identifying information and meta-data of items queried from a gallery.</p>
<p>Only one item in a result set can be accessed at a time, so before information about an item can be accessed it must be selected using one of the <a href="qgalleryresultset.html#fetch">fetch</a>() functions. When a new index is selected the result set will emit the <a href="qgalleryresultset.html#currentIndexChanged">currentIndexChanged</a>() signal, and when the currently selected item changes the <a href="qgalleryresultset.html#currentItemChanged">currentItemChanged</a>() signal will be emitted. If the <a href="qgalleryresultset.html#currentIndex">currentIndex</a>() contains a gallery item <a href="qgalleryresultset.html#isValid">isValid</a>() will return true, otherwise it will return false. Information identifying the current item in a result set can be accessed using the <a href="qgalleryresultset.html#itemId">itemId</a>(), <a href="qgalleryresultset.html#itemUrl">itemUrl</a>() and <a href="qgalleryresultset.html#itemType">itemType</a>() functions.</p>
<p>For each meta-data property that can be addressed by a result set it will provide a unique key which queried by passing the property's name to the <a href="qgalleryresultset.html#propertyKey">propertyKey</a>() function. Passing this key to the <a href="qgalleryresultset.html#metaData">metaData</a>() function will return the current item's value for that property. Some result sets may contain editable meta-data values which can be changed using the <a href="qgalleryresultset.html#setMetaData">setMetaData</a>() function. The attributes of a meta-data property such as whether it's writable can be queried from <a href="qgalleryresultset.html#propertyAttributes">propertyAttributes</a>() and the type of value that will returned by <a href="qgalleryresultset.html#metaData">metaData</a>() can be queried using <a href="qgalleryresultset.html#propertyType">propertyType</a>().</p>
<p>Whenever items are added or removed from a result set the <a href="qgalleryresultset.html#itemsInserted">itemsInserted</a>() and <a href="qgalleryresultset.html#itemsRemoved">itemsRemoved</a>() signals will be emitted identifying where and how many items were changed. If the meta-data of one or more items in a result set changes the <a href="qgalleryresultset.html#metaDataChanged">metaDataChanged</a>() signal will be emitted.</p>
</div>
<!-- @@@QGalleryResultSet -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGalleryResultSet[overload1]$$$QGalleryResultSetQObject* -->
<h3 class="fn"><a name="QGalleryResultSet"></a>QGalleryResultSet::<span class="name">QGalleryResultSet</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a></span> * <i>parent</i> = 0 )</h3>
<p>Constructs a new result set.</p>
<p>The <i>parent</i> is passed to <a href="qgalleryabstractresponse.html">QGalleryAbstractResponse</a>.</p>
<!-- @@@QGalleryResultSet -->
<!-- $$$~QGalleryResultSet[overload1]$$$~QGalleryResultSet -->
<h3 class="fn"><a name="dtor.QGalleryResultSet"></a>QGalleryResultSet::<span class="name">~QGalleryResultSet</span> ()</h3>
<p>Destroys a result set.</p>
<!-- @@@~QGalleryResultSet -->
<!-- $$$currentIndex[overload1]$$$currentIndex -->
<h3 class="fn"><a name="currentIndex"></a><span class="type">int</span> QGalleryResultSet::<span class="name">currentIndex</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the index of the item a result set currently positioned on.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#fetch">fetch</a>().</p>
<!-- @@@currentIndex -->
<!-- $$$currentIndexChanged[overload1]$$$currentIndexChangedint -->
<h3 class="fn"><a name="currentIndexChanged"></a><span class="type">void</span> QGalleryResultSet::<span class="name">currentIndexChanged</span> ( <span class="type">int</span> <i>index</i> )<tt> [signal]</tt></h3>
<p>Signals that a result set has been repositioned on a new <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@currentIndexChanged -->
<!-- $$$currentItemChanged[overload1]$$$currentItemChanged -->
<h3 class="fn"><a name="currentItemChanged"></a><span class="type">void</span> QGalleryResultSet::<span class="name">currentItemChanged</span> ()<tt> [signal]</tt></h3>
<p>Signals that the item the result set is positioned on has changed.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@currentItemChanged -->
<!-- $$$fetch[overload1]$$$fetchint -->
<h3 class="fn"><a name="fetch"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">fetch</span> ( <span class="type">int</span> <i>index</i> )<tt> [pure virtual]</tt></h3>
<p>Moves the current position of a result set to an arbitrary <i>index</i>.</p>
<p>Returns true if the result set is positioned on a valid item on return; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fetch -->
<!-- $$$fetchFirst[overload1]$$$fetchFirst -->
<h3 class="fn"><a name="fetchFirst"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">fetchFirst</span> ()<tt> [virtual]</tt></h3>
<p>Moves the current position of the result set to the first item in the set.</p>
<p>Returns true if the result set is positioned on a valid item on return; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fetchFirst -->
<!-- $$$fetchLast[overload1]$$$fetchLast -->
<h3 class="fn"><a name="fetchLast"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">fetchLast</span> ()<tt> [virtual]</tt></h3>
<p>Moves the current position of the result set to the last item in the set.</p>
<p>Returns true if the result set is positioned on a valid item on return; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fetchLast -->
<!-- $$$fetchNext[overload1]$$$fetchNext -->
<h3 class="fn"><a name="fetchNext"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">fetchNext</span> ()<tt> [virtual]</tt></h3>
<p>Moves the current position of the result set to the next item in the set.</p>
<p>Returns true if the result set is positioned on a valid item on return; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fetchNext -->
<!-- $$$fetchPrevious[overload1]$$$fetchPrevious -->
<h3 class="fn"><a name="fetchPrevious"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">fetchPrevious</span> ()<tt> [virtual]</tt></h3>
<p>Moves the current position of the result set to the previous item in the set.</p>
<p>Returns true if the result set is positioned on a valid item on return; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fetchPrevious -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">isValid</span> () const<tt> [virtual]</tt></h3>
<p>Returns true if a result set is currently positioned on a valid item; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#currentIndex">currentIndex</a>().</p>
<!-- @@@isValid -->
<!-- $$$itemCount[overload1]$$$itemCount -->
<h3 class="fn"><a name="itemCount"></a><span class="type">int</span> QGalleryResultSet::<span class="name">itemCount</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the number of items in a result set.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@itemCount -->
<!-- $$$itemId[overload1]$$$itemId -->
<h3 class="fn"><a name="itemId"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span> QGalleryResultSet::<span class="name">itemId</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the ID of the item a result set is currently positioned on.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#currentIndex">currentIndex</a>().</p>
<!-- @@@itemId -->
<!-- $$$itemType[overload1]$$$itemType -->
<h3 class="fn"><a name="itemType"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QGalleryResultSet::<span class="name">itemType</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the type of the item a result set is currently positioned on.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#currentIndex">currentIndex</a>().</p>
<!-- @@@itemType -->
<!-- $$$itemUrl[overload1]$$$itemUrl -->
<h3 class="fn"><a name="itemUrl"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qurl.html">QUrl</a></span> QGalleryResultSet::<span class="name">itemUrl</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the URL of the item a result set is currently positioned on.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#currentIndex">currentIndex</a>() and <a href="qgalleryresultset.html#resources">resources</a>().</p>
<!-- @@@itemUrl -->
<!-- $$$itemsInserted[overload1]$$$itemsInsertedintint -->
<h3 class="fn"><a name="itemsInserted"></a><span class="type">void</span> QGalleryResultSet::<span class="name">itemsInserted</span> ( <span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i> )<tt> [signal]</tt></h3>
<p>Signals that <i>count</i> items have been inserted into a result set at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@itemsInserted -->
<!-- $$$itemsMoved[overload1]$$$itemsMovedintintint -->
<h3 class="fn"><a name="itemsMoved"></a><span class="type">void</span> QGalleryResultSet::<span class="name">itemsMoved</span> ( <span class="type">int</span> <i>from</i>, <span class="type">int</span> <i>to</i>, <span class="type">int</span> <i>count</i> )<tt> [signal]</tt></h3>
<p>Signals that <i>count</i> items have been moved <i>from</i> an existing index <i>to</i> a new index.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@itemsMoved -->
<!-- $$$itemsRemoved[overload1]$$$itemsRemovedintint -->
<h3 class="fn"><a name="itemsRemoved"></a><span class="type">void</span> QGalleryResultSet::<span class="name">itemsRemoved</span> ( <span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i> )<tt> [signal]</tt></h3>
<p>Signals that <i>count</i> items have been removed from a result set at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@itemsRemoved -->
<!-- $$$metaData[overload1]$$$metaDataint -->
<h3 class="fn"><a name="metaData"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span> QGalleryResultSet::<span class="name">metaData</span> ( <span class="type">int</span> <i>key</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the meta-data value of the current item for <i>key</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#setMetaData">setMetaData</a>().</p>
<!-- @@@metaData -->
<!-- $$$metaDataChanged[overload1]$$$metaDataChangedintintconstQList<int>& -->
<h3 class="fn"><a name="metaDataChanged"></a><span class="type">void</span> QGalleryResultSet::<span class="name">metaDataChanged</span> ( <span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type">int</span>&gt; &amp; <i>keys</i> )<tt> [signal]</tt></h3>
<p>Signals that the meta-data identified by <i>keys</i> of <i>count</i> items starting at <i>index</i> has changed.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@metaDataChanged -->
<!-- $$$propertyAttributes[overload1]$$$propertyAttributesint -->
<h3 class="fn"><a name="propertyAttributes"></a><span class="type"><a href="qgalleryproperty.html#Attribute-enum">QGalleryProperty::Attributes</a></span> QGalleryResultSet::<span class="name">propertyAttributes</span> ( <span class="type">int</span> <i>key</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the attributes of the property identified by <i>key</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@propertyAttributes -->
<!-- $$$propertyKey[overload1]$$$propertyKeyconstQString& -->
<h3 class="fn"><a name="propertyKey"></a><span class="type">int</span> QGalleryResultSet::<span class="name">propertyKey</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>property</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns a positive integer key for a <i>property</i> name, or a negative integer if the property name is invalid.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@propertyKey -->
<!-- $$$propertyType[overload1]$$$propertyTypeint -->
<h3 class="fn"><a name="propertyType"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html#Type-enum">QVariant::Type</a></span> QGalleryResultSet::<span class="name">propertyType</span> ( <span class="type">int</span> <i>key</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the type of the property identified by <i>key</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@propertyType -->
<!-- $$$resources[overload1]$$$resources -->
<h3 class="fn"><a name="resources"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgalleryresource.html">QGalleryResource</a></span>&gt; QGalleryResultSet::<span class="name">resources</span> () const<tt> [virtual]</tt></h3>
<p>Returns the resources of the item of a result set is currently positioned on.</p>
<p>The default implementation returns a single resource with the URL of the current item, or an empty list if the current item doesn't have a valid URL.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#currentIndex">currentIndex</a>() and <a href="qgalleryresultset.html#itemUrl">itemUrl</a>().</p>
<!-- @@@resources -->
<!-- $$$setMetaData[overload1]$$$setMetaDataintconstQVariant& -->
<h3 class="fn"><a name="setMetaData"></a><span class="type">bool</span> QGalleryResultSet::<span class="name">setMetaData</span> ( <span class="type">int</span> <i>key</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a></span> &amp; <i>value</i> )<tt> [pure virtual]</tt></h3>
<p>Sets the meta-data <i>value</i> of the current item for <i>key</i>.</p>
<p>Returns true if the value was changed successfully; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qgalleryresultset.html#metaData">metaData</a>().</p>
<!-- @@@setMetaData -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>