gui-tool: qt wrapping work.
[fail.git] / gui / tool / QtAwfulContainer.h
blob40508c0556de01f03c054f7dee2c1d168e784efe
1 #ifndef AWFUL_GUI_TOOL_QTAWFULCONTAINER_H_
2 #define AWFUL_GUI_TOOL_QTAWFULCONTAINER_H_
4 #include "core/core.h"
5 #include "Container.h"
6 #include <QWidget>
8 namespace awful { namespace gui { namespace tool
10 // This is both a Qt widget and an awful widget container.
11 // This is to be used as a bridge to embed awful::gui::tool
12 // widgets and awful::gui widgets into pure Qt code.
13 class QtAwfulContainer : public QWidget, public Container
15 public:
16 QtAwfulContainer( QWidget* pParent ) : QWidget( pParent ) {}
17 virtual QWidget& getQWidget()
19 return *this;
22 }}}
24 #endif