Databasehandlingdialogclasses  0.5.3
hk_kdefilterdialog.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 //Version $Revision: 1.7 $
12 
13 #ifndef HK_KDEFILTERDIALOG_H
14 #define HK_KDEFILTERDIALOG_H
15 #include "hk_kdefilterdialogbase.h"
16 
18 {
19  Q_OBJECT
20 
21  public:
22 
23  enum enum_type {filter,editor};
24  hk_kdefilterdialog(enum_type type=filter, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
26 
27  protected slots:
28  void text_changed();
29 
30  protected:
31 
32  void closeEvent(QCloseEvent*);
33  void accept(void);
34  void reject(void);
35 
36  private:
37  void store_size();
38  enum_type p_type;
39 
40 };
41 #endif // HK_KDEFILTERDIALOG_H
Definition: hk_kdefilterdialog.h:17
Definition: hk_kdefilterdialogbase.h:23