src/hbinput/inputwidgets/hbinputcandidatelist.h
changeset 5 627c4a0fd0e7
parent 2 06ff229162e9
child 6 c3690ec91ef8
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    42 
    42 
    43 public:
    43 public:
    44     explicit HbCandidateList(HbInputMethod* input, QGraphicsItem* parent = 0);
    44     explicit HbCandidateList(HbInputMethod* input, QGraphicsItem* parent = 0);
    45     virtual ~HbCandidateList();
    45     virtual ~HbCandidateList();
    46 
    46 
    47     void populateList(const QStringList& candidates);
    47     void populateList(const QStringList& candidates,bool addSpellQuery = false);
    48     QString currentCandidate();
    48     QString currentCandidate();
    49     void setNumberOfVisibleLines(int numLines);
    49     void setNumberOfVisibleLines(int numLines);
    50     bool setSizeAndPositionForAutoCompletion(HbVkbHost *vkbHost);
    50     bool setSizeAndPositionForAutoCompletion(HbVkbHost *vkbHost);
    51 
    51 
    52 signals:
    52 signals:
    53     void candidatePopupCancelled();
    53     void candidatePopupCancelled();
    54     void candidateSelected(int key, const QString &candidate);
    54     void candidateSelected(int key, const QString &candidate);
       
    55     void launchSpellQueryDialog();
    55 
    56 
    56 protected:
    57 protected:
    57     void closeEvent(QCloseEvent* event);
    58     void closeEvent(QCloseEvent* event);
    58     void keyPressEvent(QKeyEvent* event);
    59     void keyPressEvent(QKeyEvent* event);
    59     void hideEvent(QHideEvent * event);
    60     void hideEvent(QHideEvent * event);