summaryrefslogtreecommitdiffstats
path: root/xembed/tests/qt-embedder.h
blob: ab678f92a5a7231f34b71e29df3af958eefedabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ();
};