src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h
changeset 28 b7da29130b0e
parent 7 923ff622b8b9
--- a/src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h	Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputpredictionhandler_p.h	Fri Sep 17 08:32:10 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,7 +70,7 @@
     bool                mCanContinuePrediction;
     bool                mShowTooltip;
     Qt::KeyboardModifiers mModifiers;
-    HbInputSpellQuery *mSpellQueryDialog;
+    QPointer<HbInputSpellQuery> mSpellQueryDialog;
     bool mAutocompletionEnabled;
 public:
     virtual void updateEditor();