Qt Mobility Reference Documentation

QGalleryUrlRequest Class Reference

The QGalleryUrlRequest class provides a request for an item identified by a URL from a gallery. More...

 #include <QGalleryUrlRequest>

Inherits QGalleryAbstractRequest.


Properties


Public Functions

QGalleryUrlRequest ( QObject * parent = 0 )
QGalleryUrlRequest ( QAbstractGallery * gallery, QObject * parent = 0 )
~QGalleryUrlRequest ()
bool create () const
QVariant itemId () const
QString itemType () const
QUrl itemUrl () const
void setCreate ( bool create )
void setItemUrl ( const QUrl & url )

Signals

void itemChanged ()

Reimplemented Protected Functions

virtual void setResponse ( QGalleryAbstractResponse * response )

Additional Inherited Members


Detailed Description

The QGalleryUrlRequest class provides a request for an item identified by a URL from a gallery.


Property Documentation

create : bool

This property holds whether a gallery should create a new entry for the requested item if one does not already exist.

Access functions:

bool create () const
void setCreate ( bool create )

itemId : const QVariant

This property holds the ID of the requested item.

Access functions:

QVariant itemId () const

Notifier signal:

void itemChanged ()

itemType : const QString

This property holds the type of the requested item.

Access functions:

QString itemType () const

Notifier signal:

void itemChanged ()

itemUrl : QUrl

This property holds the url of the item a request should return.

Access functions:

QUrl itemUrl () const
void setItemUrl ( const QUrl & url )

Member Function Documentation

QGalleryUrlRequest::QGalleryUrlRequest ( QObject * parent = 0 )

Constructs a new gallery url request.

The parent is passed to QObject.

QGalleryUrlRequest::QGalleryUrlRequest ( QAbstractGallery * gallery, QObject * parent = 0 )

Contructs a new url request for the given gallery.

The parent is passed to QObject.

QGalleryUrlRequest::~QGalleryUrlRequest ()

Destroys a gallery url request.

void QGalleryUrlRequest::itemChanged () [signal]

Signals that the itemId and itemType properties have changed.

void QGalleryUrlRequest::setResponse ( QGalleryAbstractResponse * response ) [virtual protected]

Reimplemented from QGalleryAbstractRequest::setResponse().


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0