equal
deleted
inserted
replaced
26 |
26 |
27 //--------------------------------------------------------------- |
27 //--------------------------------------------------------------- |
28 // MsgMainWindow::MsgMainWindow |
28 // MsgMainWindow::MsgMainWindow |
29 // Constructor |
29 // Constructor |
30 //--------------------------------------------------------------- |
30 //--------------------------------------------------------------- |
31 MsgMainWindow::MsgMainWindow(bool serviceRequest, QWidget *parent) : |
31 MsgMainWindow::MsgMainWindow(bool serviceRequest,int activityMsgId,QWidget *parent) : |
32 HbMainWindow(parent), mMsgSI(0), mMsgSendSI(0) |
32 HbMainWindow(parent), mMsgSI(0), mMsgSendSI(0) |
33 { |
33 { |
34 mViewManager = new MsgViewManager(serviceRequest,this,this); |
34 mViewManager = new MsgViewManager(serviceRequest,this,this,activityMsgId); |
35 mMsgSI = new MsgServiceInterface(NULL,mViewManager); |
35 mMsgSI = new MsgServiceInterface(NULL,mViewManager); |
36 mMsgSendSI = new MsgSendServiceInterface(NULL,mViewManager); |
36 mMsgSendSI = new MsgSendServiceInterface(NULL,mViewManager); |
37 |
37 |
38 //Model creation |
38 //Model creation |
39 ConversationsEngine::instance(); |
39 ConversationsEngine::instance(); |