BusShared::BusShared(const QDomElement & busElement, const QHash<QString, QPointer<ConnectorShared> > & connectorHash) { m_id = busElement.attribute("id"); QDomElement connector = busElement.firstChildElement("nodeMember"); while (!connector.isNull()) { initConnector(connector, connectorHash); connector = connector.nextSiblingElement("nodeMember"); } }
//...Database class CMySQL::CMySQL (){ strcpy( prefix , "[MYSQL]: "); initConnector(); }