kexi
KexiCSVImportDialog Class Reference
#include <kexicsvimportdialog.h>
Detailed Description
Kexi CSV import dialog.This is temporary solution for Kexi CSV import, based on kspread/dialogs/kspread_dlg_csv.h, cc.
Provides dialog for managing CSV (comma separated value) data.
Currently KexiCSVImportDialog is used for converting text into columns, inserting text file and pasting text from clipboard, where conversion from CSV (comma separated value) data is is all required. The different purposed mentioned above is determined using mode, which can be Column, File, or Clipboard respectively.
Definition at line 76 of file kexicsvimportdialog.h.
Public Types | |
Clipboard | |
File | |
TEXT | |
NUMBER | |
DATE | |
CURRENCY | |
enum | Mode { Clipboard, File } |
enum | Header { TEXT, NUMBER, DATE, CURRENCY } |
Public Member Functions | |
KexiCSVImportDialog (Mode mode, KexiMainWindow *mainWin, QWidget *parent, const char *name=0) | |
~KexiCSVImportDialog () | |
bool | cancelled () const |
virtual bool | eventFilter (QObject *watched, QEvent *e) |
Protected Member Functions | |
bool | openData () |
virtual void | accept () |
Constructor & Destructor Documentation
KexiCSVImportDialog::KexiCSVImportDialog | ( | Mode | mode, | |
KexiMainWindow * | mainWin, | |||
QWidget * | parent, | |||
const char * | name = 0 | |||
) |
- Todo:
- what about making it kexidb-independent?
- Todo:
- reuse Clipboard too!
Definition at line 138 of file kexicsvimportdialog.cpp.
Member Function Documentation
void KexiCSVImportDialog::accept | ( | ) | [protected, virtual] |
Definition at line 1218 of file kexicsvimportdialog.cpp.
The documentation for this class was generated from the following files: