]> icculus.org git repositories - duncan/yast2-qt4.git/blob - src/YQSquash.h
compile
[duncan/yast2-qt4.git] / src / YQSquash.h
1 /*---------------------------------------------------------------------\
2 |                                                                      |
3 |                      __   __    ____ _____ ____                      |
4 |                      \ \ / /_ _/ ___|_   _|___ \                     |
5 |                       \ V / _` \___ \ | |   __) |                    |
6 |                        | | (_| |___) || |  / __/                     |
7 |                        |_|\__,_|____/ |_| |_____|                    |
8 |                                                                      |
9 |                               core system                            |
10 |                                                        (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12
13   File:       YQSquash.h
14
15   Author:     Stefan Hundhammer <sh@suse.de>
16
17 /-*/
18
19
20 #ifndef YQSquash_h
21 #define YQSquash_h
22
23 #include <qwidget.h>
24
25 #include "YSquash.h"
26
27 class QWidget;
28
29 class YQSquash : public QWidget, public YSquash
30 {
31     Q_OBJECT
32
33 public:
34
35     /**
36      * Constructor.
37      **/
38     YQSquash( YWidget * parent, bool horSquash, bool vertSquash );
39
40     /**
41      * Destructor.
42      **/
43     virtual ~YQSquash();
44
45     /**
46      * Set enabled/disabled state.
47      *
48      * Reimplemented from YWidget.
49      **/
50     virtual void setEnabled( bool enabled );
51
52     /**
53      * Set the new size of the widget.
54      *
55      * Reimplemented from YWidget.
56      **/
57     virtual void setSize( int newWidth, int newHeight );
58 };
59
60
61 #endif // YQSquash_h