diff -r ecf6a73a9186 -r 60a8a215b0ec messagingapp/msgui/unifiededitor/src/msgunieditorsubject.cpp --- a/messagingapp/msgui/unifiededitor/src/msgunieditorsubject.cpp Tue Oct 05 13:58:47 2010 +0530 +++ b/messagingapp/msgui/unifiededitor/src/msgunieditorsubject.cpp Tue Oct 19 11:30:16 2010 +0530 @@ -45,16 +45,16 @@ mPriority(ConvergedMessage::Normal), mGenUtils(0) { - mSubjectEdit = new MsgUnifiedEditorLineEdit(LOC_SUBJECT,this); - mSubjectEdit->setDefaultBehaviour(true); - HbStyle::setItemName(mSubjectEdit,"subjectEdit"); - mSubjectEdit->setMinRows(1); - mSubjectEdit->setMaxRows(10); - - mGenUtils = q_check_ptr(new UniEditorGenUtils()); - - connect(mSubjectEdit, SIGNAL(contentsChanged(const QString&)), - this, SLOT(onContentsChanged(const QString&))); + this->setObjectName("subject"); + + mSubjectEdit = new MsgUnifiedEditorLineEdit(LOC_SUBJECT,this); + mSubjectEdit->setDefaultBehaviour(true); + HbStyle::setItemName(mSubjectEdit,"subjectEdit"); + + mGenUtils = q_check_ptr(new UniEditorGenUtils()); + + connect(mSubjectEdit, SIGNAL(contentsChanged(const QString&)), + this, SLOT(onContentsChanged(const QString&))); } //--------------------------------------------------------------- @@ -98,7 +98,9 @@ break; } - emit contentChanged(); + QVariantList data; + data << subjectSize() << mPriority; + emit contentsChanged(data); this->repolish(); } @@ -133,7 +135,9 @@ mPrevBuffer = text; if(!subjectOkInSms()) { - emit contentChanged(); + QVariantList data; + data << subjectSize() << mPriority; + emit contentsChanged(data); } }