00001 00002 00003 00004 00005 00006 00007 00008
00009 #ifndef CONNECTIONBASE_H
00010 #define CONNECTIONBASE_H
00011
00012 #include <qwidget.h>
00013 class QVBoxLayout;
00014 class QHBoxLayout;
00015 class QGridLayout;
00016 class KComboBox;
00017 class KLineEdit;
00018 class QCheckBox;
00019 class QFrame;
00020 class QLabel;
00021 class QPushButton;
00022
00023 class ConnectionBase : public QWidget
00024 {
00025 Q_OBJECT
00026
00027 public:
00028 ConnectionBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00029 ~ConnectionBase();
00030
00031 KComboBox* pluginCombo;
00032 KLineEdit* m_host;
00033 QLabel* TextLabel3;
00034 KLineEdit* m_port;
00035 KLineEdit* m_user;
00036 QLabel* TextLabel4;
00037 QLabel* TextLabel2;
00038 KLineEdit* m_password;
00039 QCheckBox* remember;
00040 QLabel* TextLabel1;
00041 QCheckBox* saveConnection;
00042 QPushButton* createButton;
00043 QLabel* TextLabel5;
00044 QFrame* Line2;
00045
00046 public slots:
00047 virtual void slotCreateConnection();
00048
00049 protected slots:
00050 virtual void slotDatabaseSelected();
00051
00052 protected:
00053 QHBoxLayout* hbox;
00054 QHBoxLayout* hbox_2;
00055 QGridLayout* grid;
00056 };
00057
00058 #endif // CONNECTIONBASE_H