Qt Mobility Reference Documentation

QLandmarkFetchHint Class Reference

The QLandmarkFetchHint class provides miscellaneous hints to the manager when fetching landmarks. More...

 #include <QLandmarkFetchHint>

Public Functions

QLandmarkFetchHint ()
QLandmarkFetchHint ( const QLandmarkFetchHint & other )
~QLandmarkFetchHint ()
int maxItems () const
int offset () const
void setMaxItems ( int max )
void setOffset ( int offset )
QLandmarkFetchHint & operator= ( const QLandmarkFetchHint & other )

Detailed Description

The QLandmarkFetchHint class provides miscellaneous hints to the manager when fetching landmarks.

The QLandmarkFetchHint class may be used to specify the maximum number of landmark items to return during a query and an offset to facilitate paging.


Member Function Documentation

QLandmarkFetchHint::QLandmarkFetchHint ()

Constructs a new landmark fetch hint

QLandmarkFetchHint::QLandmarkFetchHint ( const QLandmarkFetchHint & other )

Constructs a new landmark fetch hint as a copy of other.

QLandmarkFetchHint::~QLandmarkFetchHint ()

Destroys the fetch hint

int QLandmarkFetchHint::maxItems () const

Returns the maxmimum number of items to be retrieved. By default, maxItems is set to -1, meaning that there is no maximum limit.

See also setMaxItems().

int QLandmarkFetchHint::offset () const

Returns the offset of the items to be retrieved. By default, the offset is set to 0.

See also setOffset().

void QLandmarkFetchHint::setMaxItems ( int max )

Sets the max number of items to be retrieved.

See also maxItems().

void QLandmarkFetchHint::setOffset ( int offset )

Sets the offset for the items to be retrieved.

See also offset().

QLandmarkFetchHint & QLandmarkFetchHint::operator= ( const QLandmarkFetchHint & other )

Assigns other to this fetch hint and returns a reference to this fetch hint.


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