Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QSimMenuItem Class Reference
[QtTelephonyModule]

The QSimMenuItem class provides information about a menu item within a SIM toolkit application More...

    #include <QSimMenuItem>

Public Functions


Detailed Description

The QSimMenuItem class provides information about a menu item within a SIM toolkit application

See also QSimCommand and QSimToolkit.


Member Function Documentation

QSimMenuItem::QSimMenuItem ()

Construct a new menu item with default parameters.

QSimMenuItem::QSimMenuItem ( const QSimMenuItem & value )

Construct a new menu item as a copy of value.

QSimMenuItem::~QSimMenuItem ()

Destruct a menu item.

bool QSimMenuItem::hasHelp () const

Returns true if this menu item has help available; otherwise returns false.

See also setHasHelp().

uint QSimMenuItem::iconId () const

Returns the icon identifier associated with this menu item. Returns zero if there is no icon.

See also setIconId().

bool QSimMenuItem::iconSelfExplanatory () const

Returns true if the icon specified by iconId() is self-explanatory without the display of label(). If this function returns false, then label() should be displayed next to the icon. If iconId() returns zero, then iconSelfExplanatory() should be ignored.

See also setIconSelfExplanatory().

uint QSimMenuItem::identifier () const

Returns the menu item's numeric identifier.

See also setIdentifier().

QString QSimMenuItem::label () const

Returns the menu item's label.

See also setLabel().

QByteArray QSimMenuItem::labelAttribute () const

Returns the menu item's text attributes for formatting label(). Returns an empty QByteArray if the label() is not formatted.

This function was introduced in Qtopia 4.4.

See also setLabelAttribute(), label(), and labelHtml().

QString QSimMenuItem::labelHtml () const

Returns the menu item's label() as a HTML string. If the menu item has labelAttribute(), then they will be used to format the label() appropriately.

This function was introduced in Qtopia 4.4.

See also label() and labelAttribute().

uint QSimMenuItem::nextAction () const

Returns the next action indicator for this menu item. Next action indicators have the same values as command types from the QSimCommand::Type list. The default value is zero, indicating no next action indicator for this menu item.

See also setNextAction().

void QSimMenuItem::setHasHelp ( bool value )

Sets the flag that indicates if this menu item has help available to value.

See also hasHelp().

void QSimMenuItem::setIconId ( uint value )

Sets the icon identifier associated with this menu item to value.

See also iconId().

void QSimMenuItem::setIconSelfExplanatory ( bool value )

Sets the self-explanatory flag to value.

See also iconSelfExplanatory().

void QSimMenuItem::setIdentifier ( uint value )

Sets the menu item's numeric identifier to value.

See also identifier().

void QSimMenuItem::setLabel ( const QString & value )

Sets the menu item's label to value.

See also label().

void QSimMenuItem::setLabelAttribute ( const QByteArray & value )

Sets the menu item's text attributes for formatting label() to value. If value is an empty QByteArray, then label() is not formatted.

This function was introduced in Qtopia 4.4.

See also labelAttribute(), label(), and labelHtml().

void QSimMenuItem::setNextAction ( uint value )

Sets the next action indicator for this menu item to value. Next action indicators have the same values as command types from the QSimCommand::Type list. The value zero indicates that there is no next action indicator for this menu item.

See also nextAction().

QSimMenuItem & QSimMenuItem::operator= ( const QSimMenuItem & value )

Make a copy of value.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3