src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
--- a/src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h	Mon Oct 18 18:23:13 2010 +0300
@@ -25,6 +25,8 @@
 #ifndef HB_INPUT_PREDICTION_HANDLER_PRIVATE
 #define HB_INPUT_PREDICTION_HANDLER_PRIVATE
 
+#include <QPointer>
+
 #include "hbinputmodehandler_p.h"
 
 class HbPredictionEngine;
@@ -68,8 +70,9 @@
     bool                mCanContinuePrediction;
     bool                mShowTooltip;
     Qt::KeyboardModifiers mModifiers;
-    HbInputSpellQuery *mSpellQueryDialog;
+    QPointer<HbInputSpellQuery> mSpellQueryDialog;
     bool mAutocompletionEnabled;
+    HbInputLanguage mSecLanguage;
 public:
     virtual void updateEditor();
 };