controlpanelui/src/cpplugins/personalizationplugin/src/cppersonalizationadvanceview.h
equal
deleted
inserted
replaced
18 #ifndef CPPERSONALIZATIONADVANCEVIEW_H |
18 #ifndef CPPERSONALIZATIONADVANCEVIEW_H |
19 #define CPPERSONALIZATIONADVANCEVIEW_H |
19 #define CPPERSONALIZATIONADVANCEVIEW_H |
20 |
20 |
21 #include <cpbasesettingview.h> |
21 #include <cpbasesettingview.h> |
22 class CpItemDataHelper; |
22 class CpItemDataHelper; |
|
23 class CpProfileSettingForm; |
|
24 class CpProfileNameEditDialog; |
|
25 |
|
26 //max profile name length is 64 bytes. |
|
27 const int maxProfileNameLength = 64; |
23 |
28 |
24 class CpPersonalizationAdvanceView: public CpBaseSettingView |
29 class CpPersonalizationAdvanceView: public CpBaseSettingView |
25 { |
30 { |
26 Q_OBJECT |
31 Q_OBJECT |
27 public: |
32 public: |
28 explicit CpPersonalizationAdvanceView(QGraphicsItem *parent = 0); |
33 explicit CpPersonalizationAdvanceView(QGraphicsItem *parent = 0); |
29 ~CpPersonalizationAdvanceView(); |
34 ~CpPersonalizationAdvanceView(); |
30 |
35 |
31 private slots: |
36 private slots: |
32 void on_editNameAction_triggered(); |
37 void on_editNameAction_triggered(); |
|
38 void onDialogClosed(HbAction *action); |
33 |
39 |
34 private: |
40 private: |
35 void initMenu(); |
41 void initMenu(); |
|
42 |
|
43 private: |
|
44 CpProfileSettingForm *mDataForm; |
|
45 CpProfileNameEditDialog *mEditProfileNameDialog; |
|
46 HbAction *mOkButton; |
|
47 HbAction *mCancelButton; |
|
48 QString mProfileName; |
36 }; |
49 }; |
37 #endif |
50 #endif |