Databasehandlingdialogclasses  0.5.3
hk_kdedriverselect.h
1 
2 #ifndef HK_KDEDRIVERSELECT_H
3 #define HK_KDEDRIVERSELECT_H
4 #include "hk_kdedriverselectbase.h"
5 #include <kfiledialog.h>
6 
7 class internalfiledialog: public KFileDialog
8 {
9 Q_OBJECT
10  public:
11  internalfiledialog(const QString& startDir, const QString& filter,
12  QWidget *parent, const char *name,
13  bool modal);
14 protected:
15 virtual void accept();
16 virtual void reject();
17 virtual void keyPressEvent(QKeyEvent*);
18 };
19 
21 {
22  Q_OBJECT
23 
24 public:
25  hk_kdedriverselect( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
27  bool driver_selected(){return p_driverselected;}
28  QString selected_file(){return p_selectedfile;}
29 public slots:
30  virtual void list_clicked();
31  virtual void connection_clicked();
32  virtual void tabwidget_changed();
33  virtual void file_selected(const QString&);
34  virtual void help_clicked(void);
35  virtual void option_clicked();
36 
37 protected:
38 void accept(void);
39 bool eventFilter(QObject*,QEvent*);
40 virtual void keyPressEvent ( QKeyEvent * e );
41  QVBoxLayout* tab2Layout;
42 internalfiledialog * p_filedialog;
43 bool p_driverselected;
44 QString p_selectedfile;
45 };
46 
47 #endif // HK_KDEDRIVERSELECT_H
Definition: hk_kdedriverselect.h:7
Definition: hk_kdedriverselectbase.h:26
Definition: hk_kdedriverselect.h:20