#include <QtGui/qx11embed_x11.h> #ifndef QX11EMBED_X11_H class QX11EmbedContainer: public QWidget{ /* Some contents are skipped to improve readability */ protected: virtual void paintEvent(struct QPaintEvent* e); /* ... */ }; #endif // QX11EMBED_X11_H