equal
deleted
inserted
replaced
56 bool testFlag(TViewFlag aFlag) const; |
56 bool testFlag(TViewFlag aFlag) const; |
57 |
57 |
58 void setUseNetworkReason(TIRUseNetworkReason aReason); |
58 void setUseNetworkReason(TIRUseNetworkReason aReason); |
59 |
59 |
60 TIRUseNetworkReason getUseNetworkReason() const; |
60 TIRUseNetworkReason getUseNetworkReason() const; |
61 |
61 |
62 virtual void lazyInit(); |
|
63 |
|
64 protected: |
62 protected: |
65 IRBaseView(IRApplication *aApplication, TIRViewId aViewId); |
63 IRBaseView(IRApplication *aApplication, TIRViewId aViewId); |
66 |
64 |
67 IRViewManager* getViewManager() const; |
65 IRViewManager* getViewManager() const; |
68 |
66 |
69 void popupNote(const QString &aNote, const HbMessageBox::MessageBoxType &aNoteType) const; |
67 void popupNote(const QString &aNote, const HbMessageBox::MessageBoxType &aNoteType) const; |
70 |
|
71 void setInitCompleted(bool aFlag); |
|
72 |
|
73 bool initCompleted() const; |
|
74 |
68 |
75 protected: |
69 protected: |
76 IRApplication* iApplication; |
70 IRApplication* iApplication; |
77 |
71 |
78 //reference, owned by IRApplication |
72 //reference, owned by IRApplication |
85 |
79 |
86 private: |
80 private: |
87 TViewFlags iFlags; |
81 TViewFlags iFlags; |
88 TIRViewId iViewId; |
82 TIRViewId iViewId; |
89 TIRUseNetworkReason iUseNetworkReason; |
83 TIRUseNetworkReason iUseNetworkReason; |
90 bool iInitCompleted; |
|
91 }; |
84 }; |
92 |
85 |
93 Q_DECLARE_OPERATORS_FOR_FLAGS(IRBaseView::TViewFlags) |
86 Q_DECLARE_OPERATORS_FOR_FLAGS(IRBaseView::TViewFlags) |
94 |
87 |
95 #endif |
88 #endif |