MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / SetSecureLevel

Method SetSecureLevel

App/Client/mainwindow.cpp:1312–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310}
1311
1312void 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
1328void MainWindow::slotSignalConnected()
1329{

Callers

nothing calls this directly

Calls 2

GetSecurityLevelMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected