Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

hk_kdeqbe.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2004 Horst Knorr <hk_classes@knoda.org>  
00003 // This file is part of the hk_classes 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 COPYING 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 #ifndef HK_KDEQBE
00012 #define HK_KDEQBE
00013 #include <kparts/mainwindow.h>
00014 #include <hk_qbe.h>
00015 
00016 class hk_kdeqbeprivate;
00017 
00018 class hk_kdeqbe:public KParts::MainWindow ,public hk_qbe
00019 {
00020 Q_OBJECT
00021 public:
00022         hk_kdeqbe(QWidget* w=0,const char* n=0,WFlags f=0);
00023         ~hk_kdeqbe();
00024         virtual void set_datasource(hk_datasource*);
00025         virtual void loaddata(const hk_string& definition);
00026 
00027 public slots:
00028 void add_datasource(void);
00029 void value_changed(int row, int col);
00030 void datasourcedefiniton_changed(void);
00031 void set_columnvalues(void);
00032 void slot_has_changed(void);
00033 void add_column(int pos, int table, const hk_string& columnname);
00034 void add_column(int table, const hk_string& columnname);
00035 void distinct_changed(void);
00036 signals:
00037 void signal_qbe_has_changed(void);
00038 void signal_qbetype_has_changed(void);
00039 void signal_distinct_has_changed(void);
00040 protected:
00041 virtual void set_has_changed(void);
00042 virtual void widget_specific_querytype_has_changed(enum_querytype oldtype,enum_querytype newtype);
00043 
00044 private:
00045 hk_kdeqbeprivate* p_private;
00046 void set_tablenames(void);
00047 void set_tablenamelist(void);
00048 void set_columnnames(int col);
00049 void init_column(int col);
00050 void init_tablenames(int col);
00051 };
00052 
00053 
00054 
00055 
00056 
00057 
00058 #endif //HK_KDEQBE

Generated on Tue Mar 22 23:28:15 2005 for Databasehandlingdialogclasses by  doxygen 1.4.1