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

hk_kdepassworddialog.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2004 Horst Knorr <hk_classes@knoda.org>  
00003 // This file is part of the hk_kdeclasses 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 LGPL 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 
00012 #ifndef HK_KDEPASSWORD
00013 #define HK_KDEPASSWORD
00014 #include <qwidget.h>
00015 #include <qdialog.h>
00016 #include <qlabel.h>
00017 #include <qlineedit.h>
00018 #include <qpushbutton.h>
00019 #include <qlayout.h>
00020 #include <qcheckbox.h>
00021 #include <qcombobox.h>
00022 #include <hk_definitions.h>
00023 class dialogedit;
00024 class button;
00025 class combobox;
00026 class hk_connection;
00035 class hk_kdepassworddialog:public QDialog
00036 {
00037     Q_OBJECT
00038         public:
00039         hk_kdepassworddialog(hk_connection*,QWidget* p=0,const char* name=0,struct_connectionfields*fields=0);
00040         ~hk_kdepassworddialog();
00041 
00042     protected:
00043         QLabel *hostlabel;
00044         dialogedit *hostedit;
00045         QLabel *userlabel;
00046         dialogedit *useredit;
00047         QLabel *passwordlabel;
00048         dialogedit *passwordedit;
00049         QLabel *portlabel;
00050         dialogedit *portedit;
00051         QLabel *sqldelimiterlabel;
00052         dialogedit *sqldelimiteredit;
00053         button *ok_button;
00054         button *cancel_button;
00055         QLabel  *header;
00056         QLabel   *booleanemulationlabel;
00057         QComboBox* booleanemulationedit;
00058         QLabel*   databasenamelabel;
00059         combobox* databasenameedit;
00060         QCheckBox* savesettings;
00061         QLabel *savesettingslabel;
00062 
00063     private:
00064         struct_connectionfields* p_fields;
00065         hk_connection* p_connection;
00066         QVBoxLayout* gesamtlayout;
00067         QVBoxLayout* textlayout;
00068         QVBoxLayout* fieldlayout;
00069         QHBoxLayout* datalayout;
00070         QHBoxLayout* buttonlayout;
00071         QHBoxLayout* headerlayout;
00072     private slots:
00073         void ok_buttonclicked(void);
00074         void cancel_buttonclicked(void);
00075 
00076 };
00077 #endif

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