Databasehandlingdialogclasses  0.5.3
hk_kdereportconditiondialog.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_KDEREPORTCONDITIONDIALOG_H
13 #define HK_KDEREPORTCONDITIONDIALOG_H
14 #include "hk_kdereportconditiondialogbase.h"
15 #include <hk_string.h>
16 class hk_form;
17 class hk_button;
18 
20 {
21  Q_OBJECT
22 
23  public:
24  hk_kdereportconditiondialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
26  enum enum_type{form,report};
27  void set_values(hk_button* button, hk_form* form,const hk_string& r, enum_type t=report);
28  public slots:
29  void add_clicked();
30  void delete_clicked();
31  void formdatasource_changed();
32  void check_buttons(void);
33  virtual void formfield_change();
34  virtual void reportfield_changed();
35  protected slots:
36  virtual void accept(void);
37 
38  private:
39  void set_reportvalues(void);
40  void set_formvalues(void);
41  void set_formdatasources(void);
42  void set_formfields(void);
43  void set_buttonvalues(void);
44  hk_form* p_form;
45  hk_button* p_button;
46  hk_string p_report;
47 };
48 #endif // HK_KDEREPORTCONDITIONDIALOG_H
Definition: hk_kdereportconditiondialogbase.h:27
Definition: hk_kdereportconditiondialog.h:19
Definition: hk_kdepassworddialog.cpp:87