XML запросы формируются напрямую в QByteArray

This commit is contained in:
krivoshein
2025-01-23 14:41:25 +03:00
parent 17dcf18da6
commit 8bb8ea0eaf
7 changed files with 45 additions and 51 deletions

View File

@@ -172,6 +172,10 @@ void InstructorsAndTraineesWidget::checkLoginResult(ServerAuthorization *serverA
updateLabelLoggedInInstructor(serverAuth->Login, serverAuth->ClientName);
connectorToServer->setLoginName(nameInstructorLoggedInLocal);
connectorToServer->sendQueryTasksXML("fim");
connectorToServer->sendQueryTasksXML("amm");
//QMessageBox::information(this, tr("Instructor authorization"), tr("Successfully!"));
}
else
@@ -199,7 +203,7 @@ void InstructorsAndTraineesWidget::checkDeLoginResult(ServerDeAuthorization *ser
ui->btnAuthorizationInstructor->setText(tr("Authorization Instructor"));
updateLabelLoggedInInstructor("","");
QMessageBox::information(this, tr("Instructor deauthorization"), tr("Successfully!"));
//QMessageBox::information(this, tr("Instructor deauthorization"), tr("Successfully!"));
}
else
{