nt () -> push_back (poster); break;} else QMessageBox :: information (this, tr ("clear string" ), tr ("SORRY, clear string"), QMessageBox :: Ok);} delete window; viewButtonRent (false); uiTabPostersRent.tableWidget-> selectionModel () -> clearSelection ();} void FunctionUser :: setPosterHiringInFile (PosterHiring * poster, QDataStream & in) {in < getLogin (); in < getCity (); in < getArea (); in < getNumberPhone (); in < getPrice (); in < getFurtiture (); in < getAnimal ( ); in < getSumRoom (); in < getTenant ();} void FunctionUser :: setPosterRentInFile (PosterRent * poster, QDataStream & in) {setPosterHiringInFile (poster, in ); in < getStreet (); in < getHome (); in < getNumberFloor ();} void FunctionUser :: slotSavePosterHiring () { QFile * file = new QFile ("posterHiring.bin"); file-> open (QIODevice :: WriteOnly); QDataStream in (file); QLinkedList :: Iterator passageUser = users-> begin ( ); QLinkedList :: Iterator passagePoster; while (passageUser! = users-> end ()) {passagePoster = (* passageUser) -> getPostersHiring () -> begin (); while (passagePoster! = (* passageUser) -> getPostersHiring () -> end ()) {setPosterHiringInFile ((* passagePoster), in); + + passagePoster;} + + passageUser;} file-> close (); delete file; uiTabPostersHiring.tableWidget-> selectionModel () -> clearSelection ();} void FunctionUser :: slotSavePosterRent () {QFile * file = new QFile ("posterRent.bin"); file-> open (QIODevice :: WriteOnly ); QDataStream in (file); QLinkedList :: Iterator passageUser = users-> begin (); QLinkedList :: Iterator passagePoster; while (passageUser! = users-> end () ) {passagePoster = (* passageUser) -> getPostersRent () -> begin (); while (passagePoster! = (* passageUser) -> getPostersRent () -> end ()) {setPosterRentInFile ((* passagePoster) , in); + + passagePoster;} + + passageUser;} file-> close (); delete file; uiTabPostersRent.tableWidget-> selectionModel () -> clearSelection ();} void FunctionUser :: slotDeleteMyPosterHiring () { QLinkedList :: Iterator passage = current-> getPostersHiring () -> begin (); int row; for (row = 0; row currentRow (); + + row ) + + passage; current-> getPostersHiring () -> erase (passage); uiTabPostersHiring.tableWidget-> removeRow (row); viewButtonHiring (false); uiTabPostersHiring.tableWidget-> selectionModel () -> clearSelection ( );} void FunctionUser :: slotDeleteMyPosterRent () {QLinkedList :: Iterator passage = current-> getPostersRent () -> begin (); int row; for (row = 0; row currentRow (); + + row) + + passage; current-> getPostersRent () -> erase (passage); uiTabPostersRent.tableWidget-> removeRow (row); viewButtonRent (false); uiTabPostersRent.tableWidget -> selectionModel () -> clearSelection ();} void FunctionUser :...