Logo Search packages:      
Sourcecode: valknut version File versions  Download package

void DCGuiApp::slotActionTransferList (  )  [private, slot]

show/hide transfer list window

Definition at line 1755 of file dcgui.cpp.

References m_bTransferViewDockVisible, and pTransferViewDock.

Referenced by initActions(), and initToolBar().

{
      statusBar()->message(tr("Show/hide transfer list window ..."));

      if ( g_pTransferView != 0 )
      {
            if ( g_pTransferView->isVisible() )
            {
                  m_bTransferViewDockVisible = FALSE;
                  pTransferViewDock->setEnabled(FALSE);
                  pTransferViewDock->hide();
            }
            else
            {
                  m_bTransferViewDockVisible = TRUE;
                  pTransferViewDock->setEnabled(TRUE);
                  pTransferViewDock->show();
            }
      }

      statusBar()->message(tr("Ready."));
}


Generated by  Doxygen 1.6.0   Back to index