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