Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

int VBoxDbgGui::showConsole (  ) 

Show the console window (aka. command line), creating it if necessary.

Returns:
VBox status code.

Definition at line 155 of file VBoxDbgGui.cpp.

References m_pDbgConsole, m_pVM, notifyChildDestroyed(), repositionConsole(), and VINF_SUCCESS.

{
    if (!m_pDbgConsole)
    {
        m_pDbgConsole = new VBoxDbgConsole(m_pVM);
        connect(m_pDbgConsole, SIGNAL(destroyed(QObject *)), this, SLOT(notifyChildDestroyed(QObject *)));
        repositionConsole();
    }
    m_pDbgConsole->show();
    return VINF_SUCCESS;
}


Generated by  Doxygen 1.6.0   Back to index