src/hbinput/inputwidgets/hbinputvkbwidget_p.h
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 7 923ff622b8b9
--- a/src/hbinput/inputwidgets/hbinputvkbwidget_p.h	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbinput/inputwidgets/hbinputvkbwidget_p.h	Wed Jun 23 18:33:25 2010 +0300
@@ -68,6 +68,7 @@
 class HbInputFocusObject;
 class HbInputSettingList;
 class HbSelectionDialog;
+class HbInputSettingWidget;
 
 const qreal VerticalSpacing = 0.0, HorizontalSpacing = 0.0; //vertical and horizontal spacing for buttons in layout
 
@@ -76,11 +77,10 @@
     Q_DECLARE_PUBLIC(HbInputVkbWidget)
 
 public:
-     enum HbQwertyKeyboardSize
-     {
-         HbQwerty4x10,
-         HbQwerty4x11
-     };
+    enum HbQwertyKeyboardSize {
+        HbQwerty4x10,
+        HbQwerty4x11
+    };
     HbInputVkbWidgetPrivate();
     virtual ~HbInputVkbWidgetPrivate();
 
@@ -93,8 +93,8 @@
     virtual void handleStandardButtonPress(int aButtonId);
     virtual void handleStandardButtonRelease(int aButtonId);
 
-    virtual void addCustomButtonToLayout( HbTouchKeypadButton* button,
-                                          int index);
+    virtual void addCustomButtonToLayout(HbTouchKeypadButton *button,
+                                         int index);
 
     void redirectMousePressEvent(QGraphicsSceneMouseEvent *aEvent);
     void redirectMouseReleaseEvent(QGraphicsSceneMouseEvent *aEvent);
@@ -112,9 +112,11 @@
 
     bool isSmileysEnabled();
     bool isKeyboardDimmed();
-    
+
     void showInputMethodSelectionDialog();
     void _q_inputMethodSelectionDialogFinished(HbAction *action);
+    void _q_handleRockerChange(int direction, HbInputVirtualRocker::RockerSelectionMode selectionMode);
+    void _q_settingsClosed(HbAction *action);
 
     virtual QChar numberCharacterBoundToKey(int key);
     friend class HbTouchKeypadButton;
@@ -137,13 +139,13 @@
     QPointer<HbTouchKeypadButton> mSettingsButton;
     QPointer<HbInputSettingList> mSettingList;
 
-    QGraphicsGridLayout* mButtonLayout;
+    QGraphicsGridLayout *mButtonLayout;
 
     QSignalMapper *mPressMapper;
     QSignalMapper *mReleaseMapper;
     QSignalMapper *mActionMapper;
 
-    HbInputVirtualRocker *mRocker;
+    QPointer<HbInputVirtualRocker> mRocker;
 
     HbFrameDrawer *mBackgroundDrawer;
     HbFrameDrawer *mIconDrawer;
@@ -158,7 +160,7 @@
     HbInputVkbWidget::HbFlickDirection mFlickDirection;
     HbInputSmileyPicker *mSmileyPicker;
 
-    HbInputScreenshotWidget* mScreenshotWidget;
+    HbInputScreenshotWidget *mScreenshotWidget;
     QTimeLine mScreenshotTimeLine;
     HbTouchKeypadButton *mMostRecentlyAccessedButton;
     QPointF mMostRecentlyClickedLocation;
@@ -174,6 +176,7 @@
     HbView *mCurrentView;
     bool mKeyboardDimmed;
     HbSelectionDialog *mImSelectionDialog;
+    HbInputSettingWidget *mSettingWidget;
 };
 
 #endif //HB_INPUT_VKB_WIDGET_PRIVATE_H