12 #ifndef GSAFE__HFACTORY_LIB_HEADER_FILE_X_
13 #define GSAFE__HFACTORY_LIB_HEADER_FILE_X_
105 class HFactory :
public QObject , QXmlDefaultHandler
156 bool mainblock,read_on,fieldread_on;
159 QString fpar_att,fpar_def,fpar_sql;
167 QList<Hff_node *> *fieldlist;
191 QStringList buffer_k,
197 QStringList rolename;
201 bool default_readonly,
205 int default_color_r,default_color_g,default_color_b;
219 int fmin,fmax,fgroup;
229 bool startElement(
const QString& ns,
const QString& ln,
const QString& name,
230 const QXmlAttributes& atts);
232 bool endElement(
const QString& ns,
const QString& ln,
const QString& name);
239 bool warning(
const QXmlParseException& exception);
241 bool error(
const QXmlParseException& exception);
243 bool fatalError(
const QXmlParseException& exception);
247 void emptyBuffer(
void);
250 void errorSignal(QString err);
HList * genHList(QString part, QString inRole="")
QString errorString(void)
bool characters(const QString &ch)
int readFromFile(QFile *f)
bool endElement(const QString &ns, const QString &ln, const QString &name)
void appendTemplateData(QString rdata)
HFactory(QString rdata="")
bool fatalError(const QXmlParseException &exception)
bool error(const QXmlParseException &exception)
HTableBase * genTable(QString part, int mode=TABLE)
bool warning(const QXmlParseException &exception)
QString sqlCreateString(QString part)
void clearTemplateData(void)
HTable * genHTable(QString part, QString inRole="")
bool startElement(const QString &ns, const QString &ln, const QString &name, const QXmlAttributes &atts)