--- a/src/hbinput/inputwidgets/hbinputcandidatelist.h Thu Jul 15 14:03:49 2010 +0100
+++ b/src/hbinput/inputwidgets/hbinputcandidatelist.h Thu Jul 22 16:36:53 2010 +0100
@@ -23,8 +23,8 @@
**
****************************************************************************/
-#ifndef HB_CANDIDATE_LIST_H
-#define HB_CANDIDATE_LIST_H
+#ifndef HB_INPUT_CANDIDATE_LIST_H
+#define HB_INPUT_CANDIDATE_LIST_H
#include <hbdialog.h>
@@ -41,10 +41,10 @@
Q_OBJECT
public:
- explicit HbCandidateList(HbInputMethod* input, QGraphicsItem* parent = 0);
+ explicit HbCandidateList(HbInputMethod *input, QGraphicsItem *parent = 0);
virtual ~HbCandidateList();
- void populateList(const QStringList& candidates);
+ void populateList(const QStringList &candidates, bool addSpellQuery = false);
QString currentCandidate();
void setNumberOfVisibleLines(int numLines);
bool setSizeAndPositionForAutoCompletion(HbVkbHost *vkbHost);
@@ -52,11 +52,12 @@
signals:
void candidatePopupCancelled();
void candidateSelected(int key, const QString &candidate);
+ void launchSpellQueryDialog();
protected:
- void closeEvent(QCloseEvent* event);
- void keyPressEvent(QKeyEvent* event);
- void hideEvent(QHideEvent * event);
+ void closeEvent(QCloseEvent *event);
+ void keyPressEvent(QKeyEvent *event);
+ void hideEvent(QHideEvent *event);
void updatePrimitives();
public slots:
@@ -67,6 +68,6 @@
Q_DISABLE_COPY(HbCandidateList)
};
-#endif // HB_CANDIDATE_LIST_H
+#endif // HB_INPUT_CANDIDATE_LIST_H
// End of file