21 #ifndef QTABLEMODELWRITER_H
22 #define QTABLEMODELWRITER_H
24 #include <qaivlib_global.h>
27 class QTableModelWriterPrivate;
57 QTableModelWriter(
const QString & fileName,
const QByteArray & format = QByteArray());
61 QIODevice* device()
const;
63 QString fileName()
const;
65 QByteArray format()
const;
67 void setDevice(QIODevice* device);
69 void setFormat(
const QByteArray & format);
71 void setIncludeHeader(
bool on);
72 void setRole(
int role);
73 static QList<QByteArray> supportedFormats();
77 bool writeAll(QTableView* view);
79 bool writeSelection(QTableView* view);
85 bool write(QTableView* view,
bool all);
87 QTableModelWriterPrivate* d;
90 #endif // QTABLEMODELWRITER_H
The QTableModelWriter class provides a format-independent interface for writing the content of table ...
Definition: qtablemodelwriter.h:43
The QAdvancedTableView class provides an advanced model/view implementation of a table view...
Definition: qadvancedtableview.h:65