summaryrefslogtreecommitdiffstats
path: root/xembed/tests/qt-embedder.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-04-21 13:02:50 +0000
committerOwen Taylor <otaylor@redhat.com>2002-04-21 13:02:50 +0000
commit0384881729afeaa1ff5c6ef1282b1222ebfd7179 (patch)
tree6bb052bd461c4c59514ef1c9f6decf3c7917b6cc /xembed/tests/qt-embedder.h
parent19ceb4ed34fd0368294ed42f72e95dfaac4b107e (diff)
downloadxdg-specs-0384881729afeaa1ff5c6ef1282b1222ebfd7179.tar.xz
Sun Apr 21 09:20:30 2002 Owen Taylor <otaylor@redhat.com>
* Reorganize, add test cases in tests/
Diffstat (limited to 'xembed/tests/qt-embedder.h')
-rw-r--r--xembed/tests/qt-embedder.h28
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 ();
+};