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

void DCOptions::slotShareListInfo (  )  [private, slot]

Definition at line 1908 of file dcoptions.cpp.

Referenced by InitDocument().

{
      QString s;

      if ( CFileManager::Instance()->GetShareSize() == 0 )
      {
            s = tr("Share list not available");
      }
      else
      {
            s = tr("Compressed list size (HE3/BZ/XML): ") +
                  QString().setNum(CFileManager::Instance()->GetShareBufferSize(esbtHE3)) + "/" +
                  QString().setNum(CFileManager::Instance()->GetShareBufferSize(esbtBZ)) + "/" +
                  QString().setNum(CFileManager::Instance()->GetShareBufferSize(esbtXMLBZ)) + " " +
                  tr("bytes") + "\n" +
                  tr("Total shared: ") +
                  CUtils::GetSizeString(CFileManager::Instance()->GetShareSize(),g_pConfig->GetUnit()).Data();
      }

      QMessageBox::information( this, tr("Share List Info"), s );
}


Generated by  Doxygen 1.6.0   Back to index