Add the ability to rename PCs
This commit is contained in:
parent
0d9d0845f5
commit
b75f662c41
7 changed files with 85 additions and 1 deletions
|
|
@ -128,6 +128,13 @@ void ComputerModel::wakeComputer(int computerIndex)
|
|||
QThreadPool::globalInstance()->start(wakeTask);
|
||||
}
|
||||
|
||||
void ComputerModel::renameComputer(int computerIndex, QString name)
|
||||
{
|
||||
Q_ASSERT(computerIndex < m_Computers.count());
|
||||
|
||||
m_ComputerManager->renameHost(m_Computers[computerIndex], name);
|
||||
}
|
||||
|
||||
void ComputerModel::pairComputer(int computerIndex, QString pin)
|
||||
{
|
||||
Q_ASSERT(computerIndex < m_Computers.count());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue