/** * @RDE_HEADER@ * CodificationDataManagement - Export codification table csv data * $Id$ * $HeadURL$ * $Author$ * Created by hjl, SLSE, 2017-01-23 */ #pragma once #include #include namespace CodificationManagement { class NumeralCodeModel; class AuthenticationCodeModel; class LogisticalTermsModel; class PhraseTableModel; class CSVExport : public QWidget { Q_OBJECT public: explicit CSVExport(const NumeralCodeModel *numCodeModel, const AuthenticationCodeModel *authenticationCodeModel, const LogisticalTermsModel *logisticalTermsModel, const PhraseTableModel *phraseTableModel, const QString ¬e, QWidget *parent = nullptr); bool writeCSVData(); QByteArray exportToByteArray() const; private Q_SLOTS: private: const NumeralCodeModel *m_numCodeModel; const AuthenticationCodeModel *m_authenticationCodeModel; const LogisticalTermsModel *m_logisticalTermsModel; const PhraseTableModel *m_phraseTableModel; QString m_note; NGL::INGLLogger &m_logger; ///< Interface to the Logging-Facility }; } //namespace CodificationManagement