hk_kdexmlexportdialog.h

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_KDEXMLEXPORTDIALOG_H
00013 #define HK_KDEXMLEXPORTDIALOG_H
00014 #include "hk_kdexmlexportdialogbase.h"
00015 #include <hk_reportutils.h>
00016 class QProgressDialog;
00017 
00018 class hk_kdexmlexportdialog : public hk_kdexmlexportdialogbase ,public hk_reportxml
00019 {
00020     Q_OBJECT
00021 
00022         public:
00023         hk_kdexmlexportdialog(const QString& table, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00024         ~hk_kdexmlexportdialog();
00025         void set_usetablelist(void);
00026         void set_usequerylist(void);
00027         void set_useviewlist(void);
00028         void set_database(hk_database* d);
00029 
00030     public slots:
00031         void ok_clicked();
00032     virtual void listtype_changed();
00033       virtual void help_clicked();
00034 
00035     protected slots:
00036         void buttons_enabled();
00037         void filebutton_clicked();
00038         void printing_cancelled(void);
00039         virtual void excel_clicked();
00040 
00041     protected:
00042      static  bool set_progress(long int,long int,const hk_string&);
00043 virtual void keyPressEvent ( QKeyEvent * e );
00044 
00045     private:
00046         void set_datasourcelist(void);
00047         QString      p_file;
00048         QString p_tablename;
00049         datasourcetype p_datasourcetype;
00050 static        QProgressDialog* p_progressdialog;
00051         static bool p_cancelimport;
00052 
00053 };
00054 #endif                                            // HK_KDEXMLEXPORTDIALOG_H

Generated on Tue Nov 28 00:05:29 2006 for Databasehandlingdialogclasses by  doxygen 1.5.0