diff options
Diffstat (limited to 'xembed/tests/qt-embedder.h')
-rw-r--r-- | xembed/tests/qt-embedder.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xembed/tests/qt-embedder.h b/xembed/tests/qt-embedder.h new file mode 100644 index 0000000..ab678f9 --- /dev/null +++ b/xembed/tests/qt-embedder.h @@ -0,0 +1,28 @@ +#include <qmainwindow.h> +#include <qptrlist.h> + +class QVBox; + +class XEmbedQtEmbedder : public QMainWindow +{ + Q_OBJECT + + public: + + XEmbedQtEmbedder (); + + private: + QVBox *vbox_; + QPtrList<QWidget> embedders_; + + void addChild (bool active, bool isQt); + + private slots: + + void addActiveGtkChild (); + void addPassiveGtkChild (); + void addActiveQtChild (); + void addPassiveQtChild (); + void removeChild (); + void maybeQuit (); +}; |