src/hbinput/inputwidgets/hbinputcandidatelist.h
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    24 ****************************************************************************/
    24 ****************************************************************************/
    25 
    25 
    26 #ifndef HB_INPUT_CANDIDATE_LIST_H
    26 #ifndef HB_INPUT_CANDIDATE_LIST_H
    27 #define HB_INPUT_CANDIDATE_LIST_H
    27 #define HB_INPUT_CANDIDATE_LIST_H
    28 
    28 
    29 #include <hbdialog.h>
    29 #include <hbinputpopupbase.h>
    30 
    30 
    31 #include <hbinputdef.h>
    31 #include <hbinputdef.h>
    32 
    32 
    33 class HbInputMethod;
    33 class HbInputMethod;
    34 class HbCandidateListPrivate;
    34 class HbCandidateListPrivate;
    35 class HbListWidgetItem;
    35 class HbListWidgetItem;
    36 class HbVkbHost;
    36 class HbVkbHost;
    37 class HbInputMethod;
    37 class HbInputMethod;
    38 
    38 
    39 class HB_INPUT_EXPORT HbCandidateList : public HbDialog
    39 class HB_INPUT_EXPORT HbCandidateList : public HbInputPopupBase
    40 {
    40 {
    41     Q_OBJECT
    41     Q_OBJECT
    42 
    42 
    43 public:
    43 public:
    44     explicit HbCandidateList(HbInputMethod *input, QGraphicsItem *parent = 0);
    44     explicit HbCandidateList(HbInputMethod *input, QGraphicsItem *parent = 0);
    56 
    56 
    57 protected:
    57 protected:
    58     void closeEvent(QCloseEvent *event);
    58     void closeEvent(QCloseEvent *event);
    59     void keyPressEvent(QKeyEvent *event);
    59     void keyPressEvent(QKeyEvent *event);
    60     void hideEvent(QHideEvent *event);
    60     void hideEvent(QHideEvent *event);
    61     void updatePrimitives();
       
    62 
    61 
    63 public slots:
    62 public slots:
    64     void itemActivated(HbListWidgetItem *item);
    63     void itemActivated(HbListWidgetItem *item);
    65 
    64 
    66 private:
    65 private: