Advertisement
Felipebros

Untitled

May 13th, 2019
1,431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     Token *token_jwt = new Token();
  2.     Rede *rede = new Rede();
  3.     QJsonObject dados{
  4.         {"versao", versao},
  5.         {"status", ui->btnStatus->text()},
  6.         {"dispositivo", rede->ler_endereco_mac()},
  7.         {"nome_dispositivo", settings.value("dispositivo", "").toString()},
  8.         {"cnpj", settings.value("cnpj", "").toString()},
  9.         {"pasta_arquivo", settings.value("caminho_pasta", "").toString()}
  10.     };
  11.     token_jwt->obter_token(settings.value("endereco_servidor", "").toString(), dados);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement