diff -r ecf6a73a9186 -r 60a8a215b0ec messagingapp/msgui/unifiededitor/inc/msgunieditorlineedit.h --- a/messagingapp/msgui/unifiededitor/inc/msgunieditorlineedit.h Tue Oct 05 13:58:47 2010 +0530 +++ b/messagingapp/msgui/unifiededitor/inc/msgunieditorlineedit.h Tue Oct 19 11:30:16 2010 +0530 @@ -18,11 +18,11 @@ #ifndef MSG_UNIFIED_EDITOR_LINEEDIT_H #define MSG_UNIFIED_EDITOR_LINEEDIT_H -#include +#include #include -class MsgUnifiedEditorLineEdit : public HbLineEdit +class MsgUnifiedEditorLineEdit : public HbTextEdit { Q_OBJECT @@ -89,6 +89,7 @@ void setHighlight(int currentPos); QString text() const; void handleTap(); + void setSelection(int start, int length); private: QRegExp mLabelExpr; @@ -99,7 +100,7 @@ int mSelectionEnd; bool mDefaultBehaviour; -#ifdef MSGUI_UNIT_TEST +#ifdef UNIEDITOR_UNIT_TEST friend class TestMsgUnifiedEditorLineEdit; #endif };