00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef HK_KDECSVIMPORTDIALOG_H
00013 #define HK_KDECSVIMPORTDIALOG_H
00014
00015 #include <qvariant.h>
00016 #include <hk_kdecsvimportdialogbase.h>
00017 #include <hk_dsvisible.h>
00018 #include <hk_datasource.h>
00019 #include <hk_importcsv.h>
00020 class QVBoxLayout;
00021 class QHBoxLayout;
00022 class QGridLayout;
00023 class QCheckBox;
00024 class QComboBox;
00025 class QLabel;
00026 class QLineEdit;
00027 class QPushButton;
00028 class QToolButton;
00029 class QProgressDialog;
00030
00038 class hk_kdecsvimportdialog : public hk_kdecsvimportdialogbase ,public hk_importcsv
00039 {
00040 Q_OBJECT
00041
00042 public:
00043 hk_kdecsvimportdialog( QWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
00044 ~hk_kdecsvimportdialog();
00045
00046 protected slots:
00047 virtual void filebutton_clicked();
00048 virtual void buttons_enabled();
00049 virtual void ok_clicked(void);
00050 void printing_cancelled(void);
00051
00052 protected:
00053 virtual bool widget_specific_after_new_row(void);
00054 private:
00055
00056 void before_execute(void);
00057 void after_execute(void);
00058 QString p_file;
00059 QString p_tab;
00060 bool p_cancelprinting;
00061 QProgressDialog* p_progressdialog;
00062
00063 };
00064 #endif // HK_KDECSVIMPORTDIALOG_H