src/hbplugins/inputmethods/common/hbinputspellquerydialog.h
changeset 30 80e4d18b72f5
parent 6 c3690ec91ef8
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
    29 #include <hbinputdialog.h>
    29 #include <hbinputdialog.h>
    30 
    30 
    31 class HbAction;
    31 class HbAction;
    32 class HbInputMethod;
    32 class HbInputMethod;
    33 class HbInputPredictionHandler;
    33 class HbInputPredictionHandler;
       
    34 class HbInputSpellQueryPrivate;
    34 
    35 
    35 class HbInputSpellQuery : public HbInputDialog
    36 class HbInputSpellQuery : public HbInputDialog
    36 {
    37 {
    37     Q_OBJECT
    38     Q_OBJECT
    38 public:
    39 public:
    43         HbOkPressed,
    44         HbOkPressed,
    44         HbCancelPressed,
    45         HbCancelPressed,
    45         HbForceClose
    46         HbForceClose
    46     };
    47     };
    47 public slots:
    48 public slots:
    48     void dialogClosed(HbAction* action);    
    49     void dialogClosed(HbAction* action);   
       
    50 
    49 private:
    51 private:
       
    52     Q_DECLARE_PRIVATE_D(d_ptr, HbInputSpellQuery)
       
    53 
    50     HbInputState mSavedState;
    54     HbInputState mSavedState;
    51     bool mDidHandleFinish;
    55     bool mDidHandleFinish;
    52     QString mSavedEditorText;
    56     QString mSavedEditorText;
    53     QPointer<HbInputMethod> mOwner;
    57     QPointer<HbInputMethod> mOwner;
    54     QPointer<HbInputPredictionHandler> mPredictionHandler;
    58     QPointer<HbInputPredictionHandler> mPredictionHandler;