bool ColaEstatica::encolar(int pdato) { if (getFinal() != 9) { datos[getFinal()] = pdato; setFinal(getFinal() + 1); return true; } else { return false; } }
void ConvolutionDialog::ok() { if (itemIndex == -1) { QMessageBox::critical ( this, tr("No mask selected!"), "No mask selected!", QMessageBox::Ok, QMessageBox::NoButton ); reject(); return; } ImageDisplay *imageDisplay = candidates.at(itemIndex); setFinal(imageDisplay); accept(); }
BicolaDinamica::BicolaDinamica() { setFrente(nullptr); setFinal(nullptr); setTam(0); }
IBBResponder(IBBReceiveSession* session, IQRouter* router) : SetResponder<IBB>(router), session(session), sequenceNumber(0), receivedSize(0) { setFinal(false); }