void JavaUpload::save(QDomDocument& doc, QDomNode& map) const { Transfer::save(doc, map); saveVars(doc, map); setXMLProperty(doc, map, "jplugin_source", m_strSource); setXMLProperty(doc, map, "jplugin_done", QString::number(m_nDone)); }
void JavaExtractor::save(QDomDocument& doc, QDomNode& map) const { Transfer::save(doc, map); saveVars(doc, map); setXMLProperty(doc, map, "jplugin_url", m_strUrl); setXMLProperty(doc, map, "jplugin_target", m_strTarget); }
static void theSaver(GtkWidget *widget, GdkEventButton *event, gpointer data){ //gtk_main_quit();,theRanger.sHigh,theRanger.sLow,theRanger.vHigh,theRanger.vLow,theRanger.hue); //printf("%s,%d\n",theVars[6+index*2].theString,theVars[6+index*2].theInt); printf("\n%d\t%d\t%d\t%d\t%d\n",theRanger.sHigh,theRanger.sLow,theRanger.vHigh,theRanger.vLow,theRanger.hue); theVars[theIndex*2].theInt=theH; theVars[6+theIndex*2].theInt=theRanger.sLow; theVars[7+theIndex*2].theInt=theRanger.sHigh; theVars[12+theIndex*2].theInt=theRanger.vLow; theVars[13+theIndex*2].theInt=theRanger.vHigh; strcpy(theVars[18].theString,"EOF"); saveVars("segVals.dat",theVars,0); }
void Hybrj::stepCompleted(double time) { saveVars(time); extrapolateVars(); }