File: box.cpp

package info (click to toggle)
qspeakers 1.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 900 kB
  • sloc: cpp: 4,593; xml: 708; sh: 13; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <QDebug>

#include "box.h"

QDomElement Box::toDomElement(QDomDocument& doc) const
{
    QDomElement e = doc.createElement("box");
    return e;
}

void Box::fromDomElement(const QDomElement &e)
{
    if (e.tagName() != "box")
        qWarning() << __func__ << "wrong tag name while importing box!";
}