gSAFE  1.3.8
xmlolib.h
1 /* gSAFE - LIB
2  general Sql dAtabase FrontEnd
3  http://hyperprog.com/gsafe/
4 
5  (C) 2011 Peter Deak (hyper80@gmail.com)
6 
7  License: GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
8 
9  xmlolib.h
10 */
11 #ifndef GSAFE__XML_OUTPUT_LIB_HEADER_FILE_X_
12 #define GSAFE__XML_OUTPUT_LIB_HEADER_FILE_X_
13 
14 #include <QtCore>
15 #include <QtGui>
16 
17 #ifndef COMPILED_WITH_QT4X
18 #include <QtWidgets>
19 #endif
20 
22 /* @{ */
23 
24 #include "datalib.h"
25 
28 {
29 public:
31  HExcelXmlGenerator(void);
33  ~HExcelXmlGenerator(void);
34 
45  void generate(HBase *d,QTextStream *s,QString params="");
46 
49  QString generateToString(HBase *d,QString params="");
52  void generateToFile(HBase *d,QString filename,QString params="");
53 };
54 
81 class HXmloTable : public QDialog
82 {
83  Q_OBJECT
84 
85  private:
86  QLineEdit *fnedit;
87  HBase *data;
88 
89  void genXml(QTextStream *out);
90 
91  public:
95  HXmloTable(QWidget *parent,HBase *d);
97  ~HXmloTable(void);
98 
99  public slots:
100  int cf(void);
101  int saveButton(void);
102  int closeButton(void);
103 };
104 
105 /* @} */
106 
107 #endif
HExcelXmlGenerator(void)
Definition: xmlolib.cpp:19
void generate(HBase *d, QTextStream *s, QString params="")
Definition: xmlolib.cpp:29
QString generateToString(HBase *d, QString params="")
Definition: xmlolib.cpp:323
HXmloTable(QWidget *parent, HBase *d)
Definition: xmlolib.cpp:385
Definition: datalib.h:312
~HExcelXmlGenerator(void)
Definition: xmlolib.cpp:24
~HXmloTable(void)
Definition: xmlolib.cpp:440
void generateToFile(HBase *d, QString filename, QString params="")
Definition: xmlolib.cpp:332