#include <QtGui/qx11embed_x11.h> #ifndef QX11EMBED_X11_H class QX11EmbedWidget: public QWidget{ /* Some contents are skipped to improve readability */ public: enum Error{ Unknown = 0, Internal = 1, InvalidWindowID = 2, }; /* ... */ }; #endif // QX11EMBED_X11_H