00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef KNODAPROGRAMBASE_H
00010 #define KNODAPROGRAMBASE_H
00011
00012 #include <qvariant.h>
00013 #include <qwidget.h>
00014 #include <hk_string.h>
00015 #include <hk_class.h>
00016 #include <kmainwindow.h>
00017 #include <list>
00018 class QVBoxLayout;
00019 class QHBoxLayout;
00020 class QGridLayout;
00021 class KPushButton;
00022 class QButtonGroup;
00023 class QComboBox;
00024 class QLabel;
00025 class QVBox;
00026 class hk_drivermanager;
00027 class knodamainwindow;
00028
00029 class knodaprogrambase : public QWidget
00030 {
00031 Q_OBJECT
00032
00033 public:
00034 knodaprogrambase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ,struct_commandlinefields* cl=0);
00035 ~knodaprogrambase();
00036
00037 QLabel* logolabel;
00038 QButtonGroup* ButtonGroup1;
00039 QComboBox* driverlist;
00040 KPushButton* connectbutton;
00041 KPushButton* loadconnectionbutton;
00042 KPushButton* quitbutton;
00043 KPushButton* optionbutton;
00044 KPushButton* aboutbutton;
00045
00046 public slots:
00047 virtual void about_clicked();
00048 virtual void connect_clicked();
00049 virtual void loadconnection_clicked();
00050 virtual void options_clicked();
00051 virtual void quit_clicked();
00052 virtual void set_databaselist();
00053
00054 protected:
00055 QHBoxLayout* knodaprogrambaseLayout;
00056 QVBoxLayout* ButtonGroup1Layout;
00057 hk_drivermanager* p_drivermanager;
00058 hk_string p_driver;
00059 QString p_selecteddb;
00060 QString p_selectedform;
00061 bool p_runtime;
00062 bool p_load_connection;
00063
00064 };
00065
00066
00067
00068 #endif // KNODAPROGRAMBASE_H