summaryrefslogtreecommitdiffstats
path: root/xembed/tests/qt-embedder.h
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2012-03-02 15:36:01 +0100
committerVincent Untz <vuntz@gnome.org>2012-03-02 15:36:01 +0100
commit94db110fab0dcea1f8f87efce6ce1be15a67dfc7 (patch)
tree5e04297a2a3a811f9097de50160c4533887a141e /xembed/tests/qt-embedder.h
parenta988ef565a037a39aecca754a2f9d2f43e5c5131 (diff)
parent23d7d60971b8428429f120cbf77f3fcf70304b67 (diff)
downloadxdg-specs-94db110fab0dcea1f8f87efce6ce1be15a67dfc7.tar.xz
xembed: Merge import from CVS
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 ();
+};