* @copyright (c) 2010 Speed Freak team
* license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
#include "xmlwriter.h"
* @copyright (c) 2010 Speed Freak team
* license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
#include "xmlwriter.h"
/**
*@brief Constructor, connects object to GUI
*@param Pointer to carmainwindow, which is temporarily used during development
*/
XmlWriter::XmlWriter()
{
/**
*@brief Constructor, connects object to GUI
*@param Pointer to carmainwindow, which is temporarily used during development
*/
XmlWriter::XmlWriter()
{
/**
*@brief Writes Speed Freek results items as tags and contents into a buffer.
*@todo Consider looping when writing many values.
*@todo Replace test value to finally used variables.
*/
/**
*@brief Writes Speed Freek results items as tags and contents into a buffer.
*@todo Consider looping when writing many values.
*@todo Replace test value to finally used variables.
*/
/**
*@brief Opens and closes a file, when xml information is written into a file,
*and passes file to writeXmlFile()
/**
*@brief Opens and closes a file, when xml information is written into a file,
*and passes file to writeXmlFile()
/**
*@brief Writes Speed Freek results items as tags and contents to earlier defined target.
*@todo Consider looping when writing many values.
/**
*@brief Writes Speed Freek results items as tags and contents to earlier defined target.
*@todo Consider looping when writing many values.
xmlwriter.writeAttribute("date", QDateTime::currentDateTime().toString());
xmlwriter.writeEndElement();
}
xmlwriter.writeAttribute("date", QDateTime::currentDateTime().toString());
xmlwriter.writeEndElement();
}