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

MessageControl Class Reference
[QtPkgManagementModule, QtTelephonyModule]

The MessageControl class provides message related management services. More...

    #include <MessageControl>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The MessageControl class provides message related management services.

It keeps track of arriving messages and notifies the MessagesService via MessagesService::viewNewMessages() if required. In addition this class maintains the following value space entries:

PathDescription
Communications/Messages/NewMessagesnumber of new not yet read messages
Communications/Messages/NewSMSnumber of unread SMS
Communications/Messages/NewMMSnumber of unread MMS
Communications/Messages/NewSystemnumber of unread system messages
Communications/Messages/NewInstantnumber of unread instant messages
Communications/Messages/NewEmailnumber of unread email messages
Communications/Messages/SMSFulltrue if the sms storage is full
Communications/Messages/SMSRejectedtrue if an sms was rejected due to a full storage

This task opens a message box if a message was rejected due to full SMS memory. 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 MessageControl\DisablePopup key to true in the Trolltech/Phone configuration file. If this setting is missing, MessageControl shows the above mentioned popup box by default.

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


Member Function Documentation

MessageControl::MessageControl ( QObject * parent = 0 )

Creates a new instance of this class with the given parent.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3