Implement manually adding PCs
This commit is contained in:
parent
6687936e2f
commit
ecebf75b88
6 changed files with 135 additions and 58 deletions
|
|
@ -93,6 +93,13 @@ void ComputerModel::deleteComputer(int computerIndex)
|
|||
endRemoveRows();
|
||||
}
|
||||
|
||||
bool ComputerModel::wakeComputer(int computerIndex)
|
||||
{
|
||||
Q_ASSERT(computerIndex < m_Computers.count());
|
||||
|
||||
return m_Computers[computerIndex]->wake();
|
||||
}
|
||||
|
||||
void ComputerModel::pairComputer(int computerIndex, QString pin)
|
||||
{
|
||||
Q_ASSERT(computerIndex < m_Computers.count());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue