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

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 467 of file qx11embed_x11.cpp.

References QWidget::internalWinId().

{
    Q_D(QX11EmbedWidget);
    if (d->container) {
        XUnmapWindow(x11Info().display(), internalWinId());
        XReparentWindow(x11Info().display(), internalWinId(), x11Info().appRootWindow(), 0, 0);
    }
}


Generated by  Doxygen 1.6.0   Back to index