Home · All Classes · Grouped Classes · Annotated · Functions

QtopiaServiceDescription Class Reference

The QtopiaServiceDescription class describes a service request in user terms. More...

    #include <QtopiaServiceDescription>

Public Functions


Detailed Description

The QtopiaServiceDescription class describes a service request in user terms.

This data includes what action to undertake when activated, and a display name and icon.

See also QtopiaServiceSelector and QtopiaServiceRequest.


Member Function Documentation

QtopiaServiceDescription::QtopiaServiceDescription ()

Constructs an empty QtopiaServiceDescription .

QtopiaServiceDescription::QtopiaServiceDescription ( QtopiaServiceRequest r, QString l, QString ic )

Constructs a QtopiaServiceDescription, which describes an action called l, with the display icon found in the file specified by ic, which initiates QtopiaServiceRequest r when activated.

QString QtopiaServiceDescription::iconName () const

Returns the icon name describing the request.

See also setIconName().

QString QtopiaServiceDescription::label () const

Returns the display label describing the request.

See also setLabel().

QtopiaServiceRequest QtopiaServiceDescription::request () const

Returns the QtopiaServiceRequest described.

See also setRequest().

void QtopiaServiceDescription::setIconName ( const QString & i )

Sets the display icon to i.

See also iconName().

void QtopiaServiceDescription::setLabel ( const QString & l )

Sets the display label to l.

See also label().

void QtopiaServiceDescription::setRequest ( const QtopiaServiceRequest & r )

Sets the request to r.

See also request().


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5