Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QX11EmbedWidget::~QX11EmbedWidget (  ) 

Destructs the QX11EmbedWidget object. If the widget is embedded when deleted, it is hidden and then detached from its container, so that the container is free to embed a new widget.

Definition at line 485 of file qx11embed_x11.cpp.

References QWidget::winId().

    if (d->container) {
        XUnmapWindow(x11Info().display(), winId());
        XReparentWindow(x11Info().display(), winId(), x11Info().appRootWindow(), 0, 0);

Generated by  Doxygen 1.6.0   Back to index