| 31 | #include <qzregexp.h> |
| 32 | |
| 33 | ParseObject::ParseObject(QObject *parent) |
| 34 | : QObject(parent) |
| 35 | { |
| 36 | setObjectName("parseObject_"); |
| 37 | |
| 38 | db_ = Database::connection("secondConnection"); |
| 39 | |
| 40 | parseTimer_ = new QTimer(this); |
| 41 | parseTimer_->setSingleShot(true); |
| 42 | parseTimer_->setInterval(10); |
| 43 | connect(parseTimer_, SIGNAL(timeout()), this, SLOT(getQueuedXml()), |
| 44 | Qt::QueuedConnection); |
| 45 | |
| 46 | connect(this, SIGNAL(signalReadyParse(QByteArray,int,QDateTime,QString)), |
| 47 | SLOT(slotParse(QByteArray,int,QDateTime,QString))); |
| 48 | } |
| 49 | |
| 50 | ParseObject::~ParseObject() |
| 51 | { |
nothing calls this directly
no outgoing calls
no test coverage detected