sqlconfigwidget.h
Go to the documentation of this file.00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file './sqlconfigwidget.ui' 00003 ** 00004 ** Created: Tue Feb 22 09:10:57 2005 00005 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.4 edited Nov 24 2003 $) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 ****************************************************************************/ 00009 00010 #ifndef SQLCONFIGWIDGET_H 00011 #define SQLCONFIGWIDGET_H 00012 00013 #include <qvariant.h> 00014 #include <qwidget.h> 00015 00016 class QVBoxLayout; 00017 class QHBoxLayout; 00018 class QGridLayout; 00019 class QSpacerItem; 00020 class QTable; 00021 class QLabel; 00022 class KPushButton; 00023 class QDomDocument; 00024 00025 class SqlConfigWidget : public QWidget 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 SqlConfigWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 00031 ~SqlConfigWidget(); 00032 00033 QTable* dbTable; 00034 QLabel* textLabel1; 00035 KPushButton* removeBtn; 00036 KPushButton* testBtn; 00037 00038 public slots: 00039 virtual void init(); 00040 virtual void valueChanged( int, int ); 00041 virtual void removeDb(); 00042 virtual void updateButtons(); 00043 virtual void testDb(); 00044 virtual void accept(); 00045 virtual void setProjectDom( QDomDocument * doc ); 00046 virtual void loadConfig(); 00047 00048 signals: 00049 void newConfigSaved(); 00050 00051 protected: 00052 QVBoxLayout* SqlConfigWidgetLayout; 00053 QHBoxLayout* layout5; 00054 QSpacerItem* spacer4; 00055 00056 protected slots: 00057 virtual void languageChange(); 00058 00059 private: 00060 QDomDocument* doc; 00061 bool changed; 00062 00063 }; 00064 00065 #endif // SQLCONFIGWIDGET_H