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

hk_kdeclasses/hk_kdeclasses/hk_kdecsvexportdialog.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_KDECSVexportDIALOG_H
00013 #define HK_KDECSVexportDIALOG_H
00014 #include "hk_kdecsvexportdialogbase.h"
00015 #include <qvariant.h>
00016 #include <qdialog.h>
00017 #include <hk_dsvisible.h>
00018 #include <hk_datasource.h>
00019 #include <hk_reportutils.h>
00020 //#include <hk_string>
00021 class QVBoxLayout;
00022 class QHBoxLayout;
00023 class QGridLayout;
00024 class QCheckBox;
00025 class QComboBox;
00026 class QLabel;
00027 class QLineEdit;
00028 class QPushButton;
00029 class QToolButton;
00030 class QProgressDialog;
00037 class hk_kdecsvexportdialog : public hk_kdecsvexportdialogbase  ,public hk_reportcsv
00038 {
00039     Q_OBJECT
00040 
00041         public:
00042         hk_kdecsvexportdialog(const QString& table, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00043         ~hk_kdecsvexportdialog();
00044 
00045 
00046         void set_usetablelist(void);
00047         void set_usequerylist(void);
00048         void set_useviewlist(void);
00049         void set_database(hk_database* d);
00050   public slots:
00051       virtual void help_clicked();
00052     virtual void listtype_changed();
00053     virtual void morebutton_clicked();
00054     
00055     protected slots:
00056         virtual void filebutton_clicked();
00057         virtual void buttons_enabled();
00058         virtual void ok_clicked(void);
00059         void printing_cancelled(void);
00060 
00061     protected:
00062 virtual void keyPressEvent ( QKeyEvent * e );
00063  static  bool set_progress(long int,long int,const hk_string&);
00064     private:
00065 //  hk_exportcsv* p_export;
00066         static bool p_cancelimport;
00067 static        QProgressDialog* p_progressdialog;
00068         void set_datasourcelist(void);
00069         QString      p_file;
00070         QString   p_tablename;
00071         QString      p_tab;
00072         datasourcetype p_datasourcetype;
00073 
00074 };
00075 #endif                                            // HK_KDECSVexportDIALOG_H

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