Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

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.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web