Advertisement
Guest User

Untitled

a guest
May 27th, 2018
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1.  
  2.     std::cout<< "Reading data..." <<std::endl;
  3.  
  4.     in.startTransaction();
  5.  
  6.     QByteArray response_byte;
  7.     in >> response_byte;
  8.     std::cout<<"Status is: " <<in.status() <<std::endl;
  9.  
  10.     qInfo() << response_byte;
  11.  
  12.     bool boolean = !in.commitTransaction();
  13.     std::cout<< "Boolean is: "<<boolean <<std::endl;
  14.     if (boolean)
  15.         return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement