30 #include <hbinputdef.h> |
30 #include <hbinputdef.h> |
31 |
31 |
32 class HbInputSettingListPrivate; |
32 class HbInputSettingListPrivate; |
33 class HbListWidgetItem; |
33 class HbListWidgetItem; |
34 class HbInputLanguage; |
34 class HbInputLanguage; |
|
35 class HbInputMethodDescriptor; |
35 |
36 |
36 class HB_INPUT_EXPORT HbInputSettingList : public HbDialog |
37 class HB_INPUT_EXPORT HbInputSettingList : public HbDialog |
37 { |
38 { |
38 Q_OBJECT |
39 Q_OBJECT |
39 |
40 |
40 public: |
41 public: |
41 HbInputSettingList(QGraphicsWidget* parent = 0); |
42 HbInputSettingList(QGraphicsWidget *parent = 0); |
42 virtual ~HbInputSettingList(); |
43 virtual ~HbInputSettingList(); |
43 |
44 |
44 public: |
45 public: |
45 void updateSettingList(); |
46 void updateSettingList(); |
46 void setLanguageSelectionEnabled(bool disabled); |
47 void setLanguageSelectionEnabled(bool disabled); |
47 void setPredictionSelectionEnabled(bool disabled); |
48 void setPredictionSelectionEnabled(bool disabled); |
48 |
49 |
49 public slots: |
50 public slots: |
|
51 void aboutToClose(); |
50 void languageButtonClicked(); |
52 void languageButtonClicked(); |
51 void predictionButtonClicked(); |
53 void predictionButtonClicked(); |
52 void listItemActivated(HbListWidgetItem *item); |
54 void listItemActivated(HbListWidgetItem *item); |
53 void primaryLanguageChanged(const HbInputLanguage &newLanguage); |
55 void primaryLanguageChanged(const HbInputLanguage &newLanguage); |
54 void secondaryLanguageChanged(const HbInputLanguage &newLanguage); |
56 void secondaryLanguageChanged(const HbInputLanguage &newLanguage); |
55 void predictionStatusChanged(HbKeyboardSettingFlags keyboardType, bool newStatus); |
57 void predictionStatusChanged(HbKeyboardSettingFlags keyboardType, bool newStatus); |
|
58 void closeSettings(const HbInputMethodDescriptor &descriptor, const QByteArray &customData); |
56 |
59 |
57 signals: |
60 signals: |
58 void inputMethodsButtonClicked(); |
61 void inputMethodsButtonClicked(); |
59 void inputSettingsButtonClicked(); |
62 void inputSettingsButtonClicked(); |
|
63 void inputMethodSelected(const HbInputMethodDescriptor &descriptor, const QByteArray &customData); |
60 |
64 |
61 private: |
65 private: |
62 Q_DECLARE_PRIVATE_D(d_ptr, HbInputSettingList) |
66 Q_DECLARE_PRIVATE_D(d_ptr, HbInputSettingList) |
63 Q_DISABLE_COPY(HbInputSettingList) |
67 Q_DISABLE_COPY(HbInputSettingList) |
64 }; |
68 }; |
65 |
69 |
66 #endif // HB_INPUT_SETTING_LIST_H |
70 #endif // HB_INPUT_SETTING_LIST_H |
67 |
71 |
68 // End of file |
72 // End of file |