Contents
QMessageId Class Reference
The QMessageId class provides a unique identifier for a QMessage message within the scope of the messaging store. More...
#include <QMessageId>
Public Functions
QMessageId () | |
QMessageId ( const QMessageId & other ) | |
QMessageId ( const QString & id ) | |
~QMessageId () | |
bool | isValid () const |
QString | toString () const |
bool | operator< ( const QMessageId & other ) const |
Detailed Description
The QMessageId class provides a unique identifier for a QMessage message within the scope of the messaging store.
A QMessageId can be constructed from a string, or converted to a string with toString().
A QMessageId instance can be tested for validity with isValid(), and compared to other instances for equality.
If the message a QMessageId identifies is removed from the messaging store then the identifier will not be reused.
The QMessageId implementation should be as small as is practical for the underlying platform.