diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-25 15:08:48 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-25 15:08:48 +0200 |
commit | 568dc1274b92123c2ab560cf92ac12dd5446a247 (patch) | |
tree | 5119ccc96c34712bd6b59250384f75d5fb431110 /ftnoir_protocol_ft/csv.h | |
parent | d586a886d55ffb6aa3d6b0f56373ce0e8ea2ad59 (diff) |
Separate CSV handling into a new file
Diffstat (limited to 'ftnoir_protocol_ft/csv.h')
-rw-r--r-- | ftnoir_protocol_ft/csv.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/ftnoir_protocol_ft/csv.h b/ftnoir_protocol_ft/csv.h deleted file mode 100644 index 13231293..00000000 --- a/ftnoir_protocol_ft/csv.h +++ /dev/null @@ -1,38 +0,0 @@ -/*dummy CSV reader for QT4*/ -/*version 0.1*/ -/*11.1.2009*/ -#ifndef CSV_H -#define CSV_H - -//#include "myclass_api.h" - -#include <QObject> -#include <QStringList> -#include <QIODevice> -#include <QTextCodec> -#include <QRegExp> - -class /*MYCLASS_API*/ CSV /*: public QObject*/ -{ - /*Q_OBJECT*/ - -public: - CSV(QIODevice * device); - CSV(QString &string); - ~CSV(); - - QString readLine(); - QStringList parseLine(); - static QStringList parseLine(QString line); - - void setCodec(const char* codecName); -private: - QIODevice *m_device; - QTextCodec *m_codec; - QString m_string; - int m_pos; - QRegExp m_rx; - -}; - -#endif // CSV_H |