equal
deleted
inserted
replaced
23 class QGraphicsLinearLayout; |
23 class QGraphicsLinearLayout; |
24 class HbLabel; |
24 class HbLabel; |
25 class NmRecipientLineEdit; |
25 class NmRecipientLineEdit; |
26 class HbPushButton; |
26 class HbPushButton; |
27 class HbIconItem; |
27 class HbIconItem; |
|
28 class HbDocumentLoader; |
28 |
29 |
29 class NmRecipientField : public HbWidget |
30 class NmRecipientField : public QObject |
30 { |
31 { |
31 Q_OBJECT |
32 Q_OBJECT |
32 public: |
33 public: |
33 NmRecipientField(const QString &labelString = "", QGraphicsItem *parent = 0); |
34 NmRecipientField(QObject *parent, HbDocumentLoader &docLoader, const QString &objPrefix); |
34 virtual ~NmRecipientField(); |
35 virtual ~NmRecipientField(); |
35 qreal height(); |
36 qreal height(); |
36 void createConnections(); |
37 void createConnections(); |
37 |
38 |
38 signals: |
39 signals: |
51 #ifdef Q_OS_SYMBIAN |
52 #ifdef Q_OS_SYMBIAN |
52 void launchContactsPicker(); |
53 void launchContactsPicker(); |
53 #endif |
54 #endif |
54 |
55 |
55 private: |
56 private: |
56 QGraphicsLinearLayout *mLayoutHorizontal; |
57 HbDocumentLoader &mDocumentLoader; |
57 HbLabel *mLabel; |
58 const QString mObjectPrefix; |
58 NmRecipientLineEdit *mRecipientsEditor; |
59 HbWidget *mWidget; // Not owned |
59 HbPushButton *mLaunchContactsPickerButton; |
60 HbLabel *mLabel; // Not owned |
60 HbIconItem *mAddButtonIcon; |
61 NmRecipientLineEdit *mRecipientsEditor; // Not owned |
61 bool mOwned; |
62 HbPushButton *mLaunchContactsPickerButton; // Not owned |
62 }; |
63 }; |
63 |
64 |
64 #endif // NMRECIPIENTFIELD_H_ |
65 #endif // NMRECIPIENTFIELD_H_ |