src/hbinput/inputwidgets/hbinputmodeindicator.h
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 6 c3690ec91ef8
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    26 #ifndef HB_INPUT_MODE_INDICATOR_H
    26 #ifndef HB_INPUT_MODE_INDICATOR_H
    27 #define HB_INPUT_MODE_INDICATOR_H
    27 #define HB_INPUT_MODE_INDICATOR_H
    28 
    28 
    29 #include <hbwidget.h>
    29 #include <hbwidget.h>
    30 #include <hbinputdef.h>
    30 #include <hbinputdef.h>
    31 #include <hbinputtouchkeypadbutton.h>
    31 #include <hbinputbutton.h>
    32 
    32 
    33 class HbInputModeIndicatorPrivate;
    33 class HbInputModeIndicatorPrivate;
    34 
    34 
    35 
    35 
    36 class HB_INPUT_EXPORT HbInputModeIndicator : public QObject
    36 class HB_INPUT_EXPORT HbInputModeIndicator : public QObject
    37 {
    37 {
    38     Q_OBJECT
    38     Q_OBJECT
    39 public:
    39 public:
    40     HbInputModeIndicator(HbTouchKeypadButton& button, QGraphicsWidget* parent = 0);
    40     HbInputModeIndicator(HbInputButton *button, QGraphicsWidget *parent = 0);
    41     virtual ~HbInputModeIndicator();
    41     virtual ~HbInputModeIndicator();
    42 
    42 
    43 public slots:
    43 public slots:
    44     void updateIndicator();
    44     void updateIndicator();
    45     void udpdatePredictionStatus(int newStatus);
       
    46     void updatePredictionStatus(HbKeyboardSettingFlags keyboardType, bool newStatus);
    45     void updatePredictionStatus(HbKeyboardSettingFlags keyboardType, bool newStatus);
    47 
    46 
    48 private:
    47 private:
    49     Q_DISABLE_COPY(HbInputModeIndicator)
    48     Q_DISABLE_COPY(HbInputModeIndicator)
    50     HbInputModeIndicatorPrivate* mPrivate;
    49     HbInputModeIndicatorPrivate* mPrivate;