equal
deleted
inserted
replaced
21 #include "cntdetailviewitem.h" |
21 #include "cntdetailviewitem.h" |
22 #include <hbabstractviewitem.h> |
22 #include <hbabstractviewitem.h> |
23 #include <hbwidget.h> |
23 #include <hbwidget.h> |
24 #include <hbcombobox.h> |
24 #include <hbcombobox.h> |
25 #include <hblineedit.h> |
25 #include <hblineedit.h> |
26 #include <qgraphicslinearlayout.h> |
26 |
|
27 class CntCommonDetailViewItem; |
27 |
28 |
28 class CntUrlEditorViewItem : public CntDetailViewItem |
29 class CntUrlEditorViewItem : public CntDetailViewItem |
29 { |
30 { |
30 Q_OBJECT |
31 Q_OBJECT |
31 |
32 |
38 HbWidget* createCustomWidget(); |
39 HbWidget* createCustomWidget(); |
39 |
40 |
40 public slots: |
41 public slots: |
41 void indexChanged( int aIndex ); // HbComboBox index changed |
42 void indexChanged( int aIndex ); // HbComboBox index changed |
42 void textChanged( QString aText ); // HbLineEdit text changed |
43 void textChanged( QString aText ); // HbLineEdit text changed |
43 void changeOrientation(Qt::Orientation aOrient); |
|
44 |
44 |
45 private: |
45 private: |
46 void constructSubTypeModel( QStringList aContext ); |
46 void constructSubTypeModel( QStringList aContext ); |
47 |
47 |
48 #ifdef PBK_UNIT_TEST |
|
49 public: |
|
50 #else |
|
51 private: |
48 private: |
52 #endif |
49 CntCommonDetailViewItem* mItem; |
53 HbComboBox* mBox; |
50 |
54 HbLineEdit* mEdit; |
51 friend class T_UrlEditorTest; |
55 QGraphicsLinearLayout* mLayout; |
|
56 }; |
52 }; |
57 |
53 |
58 #endif /* CNTURLEDITORVIEWITEM_H_ */ |
54 #endif /* CNTURLEDITORVIEWITEM_H_ */ |