qse  0.5.4
qsedataexportpreview.h
Go to the documentation of this file.
1 #ifndef QSEDATAEXPORTPREVIEW_H
2 #define QSEDATAEXPORTPREVIEW_H
3 
4 #include "qsedataexport.h"
5 
6 class QseDataExportPreview : public QObject
7 {
8  Q_OBJECT;
9 
10  public:
11  QseDataExportPreview(QseDataExport *exp, QObject *parent=0);
13 
14  public slots:
15  void clear();
16  int appendNewFile(QString name);
17  void appendLine(int file, QString line);
18  void onDataChanged();
19 
20  signals:
21  void dataChanged();
22 
23  public:
24  QString getFile(int n);
25  void setFile(int n, QString nam);
26  int countFiles();
27  QString getLines(int file);
28 
29  private:
31  QStringList m_Files;
32  QStringList m_Contents;
33 };
34 
35 #endif
void appendLine(int file, QString line)
void setFile(int n, QString nam)
QString getLines(int file)
int appendNewFile(QString name)
QseDataExportPreview(QseDataExport *exp, QObject *parent=0)