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  · 

CellBroadcastControl Class Reference
[QtCellModule]

The CellBroadcastControl class monitors incoming cell broadcast messages. More...

    #include <CellBroadcastControl>

Inherits QObject.

Public Types

  • enum Type { Popup, Background }

Public Functions

  • 29 public functions inherited from QObject

Signals

  • void broadcast ( CellBroadcastControl::Type type, const QString & channel, const QString & text )

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public type inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The CellBroadcastControl class monitors incoming cell broadcast messages.

This task opens a message box if a cellbroadcast message of type CellBroadcastControl::Popup is received and notfies the message board task about any background broadcasts. If this is not a desired behavior or such a notification would be handled by a different class the message box can be disabled by setting the CellBroadcast\DisablePopup key to true in the Trolltech/Phone configuration file. If this setting is missing, the CellBroadcastControl class opens the above mentioned popup box.

This class is a Qt Extended server task. It is part of the Qt Extended server and cannot be used by other Qt Extended applications.

See also MessageBoard.


Member Type Documentation

enum CellBroadcastControl::Type

Represents the type of a received cell broadcast message.

ConstantValueDescription
CellBroadcastControl::Popup0A popup message. The text should be shown to the user immediately.
CellBroadcastControl::Background1A background message. The text should be shown on the homescreen.


Member Function Documentation

CellBroadcastControl::CellBroadcastControl ( QObject * parent = 0 )

Constructs a new CellBroadcastControl instance with the specified parent.

void CellBroadcastControl::broadcast ( CellBroadcastControl::Type type, const QString & channel, const QString & text )   [signal]

Emitted whenever a new cell broadcast message of the given type is received. channel indicates the channel on which the message was received and text its text.

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