summaryrefslogtreecommitdiffstats
path: root/xembed/tests/qt-client.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-04-22 03:47:54 +0000
committerOwen Taylor <otaylor@redhat.com>2002-04-22 03:47:54 +0000
commit23d7d60971b8428429f120cbf77f3fcf70304b67 (patch)
treefbe23e0aca7302112bfbd30a1c0dedde29396c65 /xembed/tests/qt-client.h
parent7bcfe52e21363072766a7ab428a9ab3e8552f6ff (diff)
downloadxdg-specs-23d7d60971b8428429f120cbf77f3fcf70304b67.tar.xz
Mon Apr 22 00:05:41 2002 Owen Taylor <otaylor@redhat.com>
* tests/*: Expand the tests to tests recursively nested embedders.
Diffstat (limited to 'xembed/tests/qt-client.h')
-rw-r--r--xembed/tests/qt-client.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/xembed/tests/qt-client.h b/xembed/tests/qt-client.h
index 6911b22..0ec1d66 100644
--- a/xembed/tests/qt-client.h
+++ b/xembed/tests/qt-client.h
@@ -1,4 +1,6 @@
-#include <qmainwindow.h>
+#include <qframe.h>
+
+class QHBox;
class XEmbedQtClient;
@@ -8,10 +10,10 @@ class XEmbedQtButtonBox : public QWidget
public:
- XEmbedQtButtonBox (XEmbedQtClient *client);
+ XEmbedQtButtonBox (QWidget *parent, XEmbedQtClient *client);
};
-class XEmbedQtClient : public QWidget
+class XEmbedQtClient : public QFrame
{
Q_OBJECT
@@ -22,6 +24,11 @@ class XEmbedQtClient : public QWidget
public slots:
void addButtons ();
+ private:
+ QHBox *hbox_;
+
private slots:
void blink();
+ void addGtkChild();
+ void addQtChild();
};