From 0384881729afeaa1ff5c6ef1282b1222ebfd7179 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 21 Apr 2002 13:02:50 +0000 Subject: Sun Apr 21 09:20:30 2002 Owen Taylor * Reorganize, add test cases in tests/ --- xembed/tests/qt-embedder.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 xembed/tests/qt-embedder.h (limited to 'xembed/tests/qt-embedder.h') 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 +#include + +class QVBox; + +class XEmbedQtEmbedder : public QMainWindow +{ + Q_OBJECT + + public: + + XEmbedQtEmbedder (); + + private: + QVBox *vbox_; + QPtrList embedders_; + + void addChild (bool active, bool isQt); + + private slots: + + void addActiveGtkChild (); + void addPassiveGtkChild (); + void addActiveQtChild (); + void addPassiveQtChild (); + void removeChild (); + void maybeQuit (); +}; -- cgit v1.2.3-70-g09d2