diff -r 238255e8b033 -r 84d9eb65b26f messagingapp/msgui/unifiededitor/inc/msgunifiededitorlineedit.h --- a/messagingapp/msgui/unifiededitor/inc/msgunifiededitorlineedit.h Fri Apr 16 14:56:15 2010 +0300 +++ b/messagingapp/msgui/unifiededitor/inc/msgunifiededitorlineedit.h Mon May 03 12:29:07 2010 +0300 @@ -42,8 +42,11 @@ */ QStringList addresses(); + void setDefaultBehaviour(bool defaultBehaviour = false); + QString content() const; + signals: - void addressTextChanged(const QString& text); + void contentsChanged(const QString& text); public slots: void setText(const QString &text); @@ -52,7 +55,7 @@ private slots: void selectionChanged(const QTextCursor &oldCursor, const QTextCursor& newCursor); - void onTextChanged(const QString& text); + void onContentsChanged(); protected: // from HbLineEdit void inputMethodEvent(QInputMethodEvent *event); @@ -64,7 +67,7 @@ private: void setHighlight(int currentPos); - void textChanged(const QString& text); + QString text() const; private: QRegExp mLabelExpr; @@ -73,6 +76,7 @@ int mSelectionStart; int mSelectionEnd; + bool mDefaultBehaviour; }; #endif // MSGUNIFIEDEDITORLINEEDIT_H