| 1310 | } |
| 1311 | |
| 1312 | void MainWindow::SetSecureLevel(COperate* o) |
| 1313 | { |
| 1314 | if(!m_pSecureLevel) return; |
| 1315 | if(o) { |
| 1316 | QString szLevel = CSecurityLevel::GetUnicodeIcon(o->GetSecurityLevel()); |
| 1317 | if(szLevel.isEmpty()) { |
| 1318 | m_pSecureLevel->hide(); |
| 1319 | return; |
| 1320 | } |
| 1321 | m_pSecureLevel->setText(szLevel); |
| 1322 | m_pSecureLevel->setToolTip(CSecurityLevel::GetString(o->GetSecurityLevel())); |
| 1323 | m_pSecureLevel->show(); |
| 1324 | } else |
| 1325 | m_pSecureLevel->hide(); |
| 1326 | } |
| 1327 | |
| 1328 | void MainWindow::slotSignalConnected() |
| 1329 | { |
nothing calls this directly
no test coverage detected