Databasehandlingdialogclasses  0.5.3
hk_kdedriverdialog.h
1 // ****************************************************************************
2 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
3 // This file is part of the hk_kdeclasses library.
4 // This file may be distributed and/or modified under the terms of the
5 // GNU Library Public License version 2 as published by the Free Software
6 // Foundation and appearing in the file LGPL included in the
7 // packaging of this file.
8 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
9 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10 // ****************************************************************************
11 
12 #ifndef HK_KDEDRIVERDIALOG_H
13 #define HK_KDEDRIVERDIALOG_H
14 
15 #include <qwidget.h>
16 #include <qlistbox.h>
17 #include <qpushbutton.h>
18 #include <qcombobox.h>
19 #include <qlabel.h>
20 
21 #include <qdialog.h>
22 //#include <hk_classes.h>
23 #include <hk_string.h>
24 #include <qlistview.h>
25 
26 class Directory;
32 class hk_kdedriverdialog : public QDialog
33 {
34  Q_OBJECT
35  public:
36  hk_kdedriverdialog(QWidget *parent=0, const char *name=0);
38  hk_string drivername(void){return p_drivername;}
39  protected slots:
40  void exit_clicked(void);
41  void ok_clicked(void);
42  void directory_changed(QListViewItem * );
43  protected:
44  QListBox *driverlist;
45  QPushButton *ok_button;
46  QPushButton *exit_button;
47  QLabel* label;
48  QListView* directorylist;
49  hk_string p_drivername;
50  hk_string p_originaldriverpath;
51 
52  private:
53 //hk_connection* p_connection;
54 };
55 #endif
Definition: hk_kdedriverdialog.cpp:33
The database-driver select dialog.
Definition: hk_kdedriverdialog.h:32