9#ifndef REGISTRATIONLISTWRITER_H
10#define REGISTRATIONLISTWRITER_H
15#include <QDomDocument>
39 bool write(
const QList<Registration*> registrations);
48 QDomElement createRegistrationElement(QDomDocument &doc,
const Registration *registration);
56 void addCommonElements(QDomDocument &doc, QDomElement ®Elem,
const Registration *registration);
The FileWriter class provides functionality to write data to a file.
Definition filewriter.h:21
The Registration class represents a registration for an event.
Definition registration.h:24
The RegistrationListWriter class provides functionality to write a list of registrations to an XML fi...
Definition registrationlistwriter.h:26
bool write(const QList< Registration * > registrations)
Write the list of registrations to the XML file.
Definition registrationlistwriter.cpp:24
RegistrationListWriter(const QString &fileName)
Construct a new Registration List Writer:: Registration List Writer object.
Definition registrationlistwriter.cpp:17