diff options
Diffstat (limited to 'ftnoir_csv')
-rw-r--r-- | ftnoir_csv/csv.cpp | 5 | ||||
-rw-r--r-- | ftnoir_csv/csv.h | 12 |
2 files changed, 1 insertions, 16 deletions
diff --git a/ftnoir_csv/csv.cpp b/ftnoir_csv/csv.cpp index b59b5083..71db8ecb 100644 --- a/ftnoir_csv/csv.cpp +++ b/ftnoir_csv/csv.cpp @@ -44,11 +44,6 @@ CSV::CSV(QString &string){ m_rx = QRegExp("((?:(?:[^;\\n]*;?)|(?:\"[^\"]*\";?))*)\\n"); } -CSV::~CSV() -{ -} - - void CSV::setCodec(const char* codecName){ m_codec = QTextCodec::codecForName(codecName); } diff --git a/ftnoir_csv/csv.h b/ftnoir_csv/csv.h index 79e1351e..e0eac7dd 100644 --- a/ftnoir_csv/csv.h +++ b/ftnoir_csv/csv.h @@ -6,19 +6,9 @@ #include <QRegExp> #include <QtGlobal> -#if defined(INSIDE_CSV) -# define CSV_API Q_DECL_EXPORT -#else -# define CSV_API Q_DECL_IMPORT -#endif - -class CSV_API CSV +class CSV { - /*Q_OBJECT*/ - public: - ~CSV(); - QString readLine(); QStringList parseLine(); static QStringList parseLine(QString line); |