hk_kdeaddtabledialog.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 //$Revision: 1.3 $
00012 #ifndef HK_KDEADDTABLEDIALOG_H
00013 #define HK_KDEADDTABLEDIALOG_H
00014 #include "hk_kdeaddtabledialogbase.h"
00015 #include <hk_string.h>
00016 class hk_kdedbdesigner;
00017 class hk_kdeaddtabledialog : public hk_kdeaddtabledialogbase
00018 {
00019     Q_OBJECT
00020 
00021 public:
00022     hk_kdeaddtabledialog(hk_kdedbdesigner*, bool allowqueries,QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00023     ~hk_kdeaddtabledialog();
00024     bool datasource_added() const{return p_added;}
00025 public slots:
00026     virtual void add_clicked();
00027     virtual void set_datasources();
00028     virtual void check_buttons();
00029 
00030 protected slots:
00031 virtual void accept();
00032 
00033 private:
00034 bool already_added_table(const hk_string&);
00035 hk_kdedbdesigner* p_designer;
00036 bool p_added;
00037 bool p_allowqueries;
00038 };
00039 
00040 #endif // HK_KDEADDTABLEDIALOG_H

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