Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hk_kdeclasses/hk_kdeclasses/hk_kdecsvimportdialog.h

Go to the documentation of this file.
00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
00003 // This file is part of the hk_kdeclasses library.
00004 // This file may be distributed and/or modified under the terms of the
00005 // GNU Library Public License version 2 as published by the Free Software
00006 // Foundation and appearing in the file LGPL included in the
00007 // packaging of this file.
00008 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
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         virtual void        set_datasource(hk_datasource* d);
00046 
00047   public slots:
00048       virtual void help_clicked();
00049       virtual void morebutton_clicked();
00050 
00051 
00052     protected slots:
00053         virtual void filebutton_clicked();
00054         virtual void buttons_enabled();
00055         virtual void ok_clicked(void);
00056         void printing_cancelled(void);
00057 
00058     protected:
00059         virtual bool widget_specific_after_new_row(void);
00060         void set_tablepreview(void);
00061 virtual void keyPressEvent ( QKeyEvent * e );
00062  static  bool set_progress(long int,long int,const hk_string&);
00063     private:
00064 //  hk_importcsv* p_import;
00065         void before_execute(void);
00066         void after_execute(void);
00067         QString      p_file;
00068         QString      p_tab;
00069         static bool p_cancelimport;
00070 static        QProgressDialog* p_progressdialog;
00071 
00072 };
00073 #endif                                            // HK_KDECSVIMPORTDIALOG_H

Generated on Thu Mar 9 18:40:41 2006 for hk_classes by  doxygen 1.4.1