21#ifndef CSVIMPORTDIALOG_H
22#define CSVIMPORTDIALOG_H
24#include <tqstringlist.h>
26#include <kdialogbase.h>
30class CSVImportDialog : public KDialogBase
45 CSVImportDialog(TQWidget* parent, TQByteArray& fileArray);
48 bool firstRowContainHeaders();
49 bool firstColContainHeaders();
52 int headerType( int col);
53 TQString text( int row, int col);
58 void setText( int row, int col, const TQString& text);
59 void adjustRows( int iRows);
60 void adjustCols( int iCols);
61 bool checkUpdateRange();
62 TQTextCodec* getCodec( void) const;
76 TQByteArray m_fileArray;
78 TQStringList m_formatList;
82 void formatChanged( const TQString& );
83 void delimiterClicked( int id);
84 void textquoteSelected( const TQString& mark);
85 void currentCellChanged( int, int col);
86 void textChanged ( const TQString & );
87 void ignoreDuplicatesChanged( int );
89 void encodingChanged ( const TQString & );
|