equal
deleted
inserted
replaced
61 initSearchList(); |
61 initSearchList(); |
62 initSearchPanel(); |
62 initSearchPanel(); |
63 initVirtualKeyboard(); |
63 initVirtualKeyboard(); |
64 initEmptyLabel(); |
64 initEmptyLabel(); |
65 |
65 |
66 connect(mainWindow(), SIGNAL(currentViewChanged(HbView*)), this, SLOT(onCurrentViewChanged(HbView*))); |
66 connect(mainWindow(), SIGNAL(viewReady()), this, SLOT(onViewReady())); |
67 } |
67 } |
68 |
68 |
69 void HelpKeywordView::initDocMl() |
69 void HelpKeywordView::initDocMl() |
70 { |
70 { |
71 initBaseDocMl(); |
71 initBaseDocMl(); |
141 { |
141 { |
142 HbLineEdit *const lineEdit = qobject_cast<HbLineEdit*>(widget); |
142 HbLineEdit *const lineEdit = qobject_cast<HbLineEdit*>(widget); |
143 if(lineEdit != NULL) |
143 if(lineEdit != NULL) |
144 { |
144 { |
145 lineEdit->setText(""); |
145 lineEdit->setText(""); |
|
146 lineEdit->setFocus(); |
146 break; |
147 break; |
147 } |
148 } |
148 } |
149 } |
149 } |
150 } |
150 } |
151 } |
151 |
152 |
152 //////////////////////////////////////////////////////////////////////////////////////////// |
153 //////////////////////////////////////////////////////////////////////////////////////////// |
153 // handle system event |
154 // handle system event |
154 |
155 |
155 void HelpKeywordView::onCurrentViewChanged(HbView *view) |
156 void HelpKeywordView::onViewReady() |
156 { |
157 { |
157 if(this == view) |
158 if(isVisible()) |
158 { |
159 { |
159 setVisible(true); |
|
160 setNavigationAction(mSoftKeyAction); |
160 setNavigationAction(mSoftKeyAction); |
161 } |
161 } |
162 } |
162 } |
163 |
163 |
164 /////////////////////////////////////////////////////////////////////////////////////// |
164 /////////////////////////////////////////////////////////////////////////////////////// |