equal
deleted
inserted
replaced
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); |