messagingapp/msgappfw/msghistory/src/msghistoryimpl.cpp
changeset 48 4f501b74aeb1
parent 23 238255e8b033
equal deleted inserted replaced
46:b1f0785c289d 48:4f501b74aeb1
    25 // Constructor.
    25 // Constructor.
    26 // ---------------------------------------------------------------------------
    26 // ---------------------------------------------------------------------------
    27 MsgHistoryImpl::MsgHistoryImpl(QObject* parent)
    27 MsgHistoryImpl::MsgHistoryImpl(QObject* parent)
    28 :QObject(parent)
    28 :QObject(parent)
    29     {
    29     {
    30     d_ptr = new MsgHistoryPrivate(this);
    30     d_ptr = q_check_ptr (new MsgHistoryPrivate(this));
    31     
    31     
    32     //connect signals
    32     //connect signals
    33     connect(this, SIGNAL(messagesReady(QList<MsgItem>&)),
    33     connect(this, SIGNAL(messagesReady(QList<MsgItem>&)),
    34             this->parent(), SIGNAL(messagesReady(QList<MsgItem>&)));
    34             this->parent(), SIGNAL(messagesReady(QList<MsgItem>&)));
    35     connect(this, SIGNAL(messageAdded(MsgItem&)),
    35     connect(this, SIGNAL(messageAdded(MsgItem&)),