Changeset 961971e


Ignore:
Timestamp:
09/27/17 22:36:56 (5 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
9782bbb
Parents:
a2f0d1e
git-author:
Philipp Spitzer <philipp@…> (09/27/17 21:59:00)
git-committer:
Philipp Spitzer <philipp@…> (09/27/17 22:36:56)
Message:

Create dedicated sub-function to parse XML data (to prepare exception error reporting).

Location:
src/sql
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sql/schedulexmlparser.cpp

    ra2f0d1e r961971e  
    3333
    3434
    35 void ScheduleXmlParser::parseData(const QByteArray &aData, const QString& url, int conferenceId)
    36 {
     35void ScheduleXmlParser::parseDataImpl(const QByteArray &aData, const QString& url, int conferenceId) {
    3736    QDomDocument document;
    3837    QString xml_error;
     
    175174}
    176175
     176
     177void ScheduleXmlParser::parseData(const QByteArray &aData, const QString& url, int conferenceId) {
     178    parseDataImpl(aData, url, conferenceId);
     179}
     180
  • src/sql/schedulexmlparser.h

    ra2f0d1e r961971e  
    2929    private:
    3030        SqlEngine* sqlEngine;
     31        void parseDataImpl(const QByteArray &aData, const QString& url, int conferenceId);
    3132    public:
    3233        ScheduleXmlParser(SqlEngine* sqlEngine, QObject *aParent = NULL);
Note: See TracChangeset for help on using the changeset viewer.