Logo Search packages:      
Sourcecode: qt-assistant-compat version File versions  Download package

void QAssistantClient::closeAssistant (  )  [virtual, slot]

Closes the Qt Assistant instance.

See also:
openAssistant(), assistantClosed()

Definition at line 337 of file qassistantclient.cpp.

{
    if ( !opened )
        return;

    bool blocked = proc->blockSignals(true);
    proc->terminate();
    if (!proc->waitForFinished(2000)) {
        // If the process hasn't died after 2 seconds,
        // we kill it, causing it to exit immediately.
        proc->kill();
    }
    proc->blockSignals(blocked);
}


Generated by  Doxygen 1.6.0   Back to index