Qtopia Home - Classes - Hierachy - Annotated - Functions - Qt Embedded

CBSMessage Class Reference

Class that represents a cell broadcast message. More...

#include <smsmessage.h>

List of all member functions.

Public Members


Detailed Description

Class that represents a cell broadcast message.

Cell broadcast messages arrive asynchonously from the network and are delivered to applications via the SMSRequest::cellBroadcast signal. The most common use of cell broadcast messages is to display cell location information.

See also Qtopia Phone Classes.


Member Type Documentation

CBSMessage::GeographicalScope

Describes the geographical scope of a cell broadcast message.

The geographical scope may be one of CellWide, PLMNWide, LocationAreaWide, or CellWide2.

CBSMessage::Language

Describes the language that a cell broadcast message is written in.

The language may be one of German, English, Italian, French, Spanish, Dutch, Swedish, Danish, Portuguese, Finnish, Norwegian, Greek, or Turkish.


Member Function Documentation

CBSMessage::CBSMessage ()

Constructs an empty CBSMessage.

CBSMessage::CBSMessage ( const CBSMessage & msg )

Constructs a copy of msg.

CBSMessage::~CBSMessage ()

Destructs the CBSMessage.

uint CBSMessage::channel () const

Get the channel number for this cell broadcast message. The most common channel number is 50, indicating cell location information.

Language CBSMessage::language () const

Get the language that this cell broadcast message is expressed in. This can allow applications to distinguish between multiple copies of the same information in different languages.

uint CBSMessage::messageCode () const

Get the cell broadcast message code.

uint CBSMessage::numPages () const

Get the number of pages that make up this cell broadcast message.

bool CBSMessage::operator!= ( const CBSMessage & other ) const

Determine if two cell broadcast message objects are not equal.

CBSMessage & CBSMessage::operator= ( const CBSMessage & msg )

Assigns a copy of msg to this object.

bool CBSMessage::operator== ( const CBSMessage & other ) const

Determine if two cell broadcast message objects are equal.

uint CBSMessage::page () const

Get the page number for this cell broadcast message if the information that it contains is split over multiple pages.

GeographicalScope CBSMessage::scope () const

Get the geographical scope of the message.

void CBSMessage::setChannel ( uint chan )

Set the channel number for this cell broadcast message to chan.

void CBSMessage::setMessageCode ( uint num )

Set the cell broadcast message code to num.

void CBSMessage::setNumPages ( uint npages )

Set the number of pages in this cell broadcast message to npages.

void CBSMessage::setPage ( uint page )

Set the page number for this cell broadcast message to page.

void CBSMessage::setText ( const QString & str )

Set the text that is contained in this cell broadcast message to str.

void CBSMessage::setUpdateNumber ( uint num )

Set the update number for this cell broadcast message to num.

QString CBSMessage::text () const

Get the text that is contained in this cell broadcast message.

uint CBSMessage::updateNumber () const

Get the update number for this cell broadcast message.

This file is part of the Qtopia platform, copyright © 1995-2005 Trolltech, all rights reserved.


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.1.2