Databasehandlingdialogclasses  0.5.3
hk_kdeaddtabledialog.h
1 // ****************************************************************************
2 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
3 // This file is part of the hk_kdeclasses library.
4 // This file may be distributed and/or modified under the terms of the
5 // GNU Library Public License version 2 as published by the Free Software
6 // Foundation and appearing in the file LGPL included in the
7 // packaging of this file.
8 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
9 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10 // ****************************************************************************
11 //$Revision: 1.3 $
12 #ifndef HK_KDEADDTABLEDIALOG_H
13 #define HK_KDEADDTABLEDIALOG_H
14 #include "hk_kdeaddtabledialogbase.h"
15 #include <hk_string.h>
16 class hk_kdedbdesigner;
18 {
19  Q_OBJECT
20 
21 public:
22  hk_kdeaddtabledialog(hk_kdedbdesigner*, bool allowqueries,QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
24  bool datasource_added() const{return p_added;}
25 public slots:
26  virtual void add_clicked();
27  virtual void set_datasources();
28  virtual void check_buttons();
29 
30 protected slots:
31 virtual void accept();
32 
33 private:
34 bool already_added_table(const hk_string&);
35 hk_kdedbdesigner* p_designer;
36 bool p_added;
37 bool p_allowqueries;
38 };
39 
40 #endif // HK_KDEADDTABLEDIALOG_H
Definition: hk_kdedbdesigner.h:33
Definition: hk_kdeaddtabledialogbase.h:25
Definition: hk_kdeaddtabledialog.h:17