equal
deleted
inserted
replaced
141 mScrollArea->setContentWidget(scrollContent); |
141 mScrollArea->setContentWidget(scrollContent); |
142 |
142 |
143 // Create the toolbar and the disconnection action |
143 // Create the toolbar and the disconnection action |
144 mToolBar = new HbToolBar(); |
144 mToolBar = new HbToolBar(); |
145 HbIcon icon("qtg_mono_disconnect"); |
145 HbIcon icon("qtg_mono_disconnect"); |
146 mDisconnectAction = mToolBar->addAction(icon, hbTrId("txt_occ_button_disconnect_all")); |
146 HbAction *disconnectAction = new HbAction(mToolBar); |
|
147 disconnectAction->setIcon(icon); |
|
148 mToolBar->addAction(disconnectAction); |
147 mMainView->setToolBar(mToolBar); |
149 mMainView->setToolBar(mToolBar); |
148 bool connectStatus = connect( |
150 bool connectStatus = connect( |
149 mDisconnectAction, |
151 disconnectAction, |
150 SIGNAL(triggered(bool)), |
152 SIGNAL(triggered(bool)), |
151 this, |
153 this, |
152 SLOT(disconnectAll())); |
154 SLOT(disconnectAll())); |
153 |
155 |
154 // Create the actual groupboxes for all the active connections |
156 // Create the actual groupboxes for all the active connections |