emailuis/nmailui/inc/nmrecipientfield.h
changeset 74 6c59112cfd31
parent 47 f83bd4ae1fe3
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
    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 class HbDocumentLoader;
       
    29 class XQAiwRequest;
    29 
    30 
    30 class NmRecipientField : public QObject
    31 class NmRecipientField : public QObject
    31 {
    32 {
    32     Q_OBJECT
    33     Q_OBJECT
    33 public:
    34 public:
    43     void selectionChanged();
    44     void selectionChanged();
    44     void launchContactsPickerButtonClicked();
    45     void launchContactsPickerButtonClicked();
    45 
    46 
    46 public:
    47 public:
    47     NmRecipientLineEdit *editor() const;
    48     NmRecipientLineEdit *editor() const;
       
    49     HbLabel *label() const;
    48     const QString text() const;
    50     const QString text() const;
    49 
    51 
    50 public slots:
    52 public slots:
    51     void setText(const QString &text);
    53     void setText(const QString &text);
    52     void launchContactsPicker();
    54     void launchContactsPicker();
       
    55     void requestCompleted();
    53 
    56 
    54 private:
    57 private:
    55     HbDocumentLoader &mDocumentLoader;
    58     HbDocumentLoader &mDocumentLoader;
    56     const QString mObjectPrefix;
    59     const QString mObjectPrefix;
    57     HbWidget *mWidget; // Not owned
    60     HbWidget *mWidget; // Not owned
    58     HbLabel *mLabel; // Not owned
    61     HbLabel *mLabel; // Not owned
    59     NmRecipientLineEdit *mRecipientsEditor; // Not owned
    62     NmRecipientLineEdit *mRecipientsEditor; // Not owned
    60     HbPushButton *mLaunchContactsPickerButton; // Not owned
    63     HbPushButton *mLaunchContactsPickerButton; // Not owned
       
    64     XQAiwRequest *mAiwRequest;
    61 };
    65 };
    62 
    66 
    63 #endif   // NMRECIPIENTFIELD_H_
    67 #endif   // NMRECIPIENTFIELD_H_