equal
deleted
inserted
replaced
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&)), |