messagingapp/msgui/msgapp/src/msgmainwindow.cpp
changeset 43 35b64624a9e7
parent 34 84197e66a4bd
child 47 5b14749788d7
child 70 a15d9966050f
equal deleted inserted replaced
34:84197e66a4bd 43:35b64624a9e7
    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();