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

void KDarConfig::disableZCompression (  ) 

Disables Z compression features (i.e. libdar does not support Z compression)

Definition at line 2202 of file kdarConfig.cpp.

References m_ZCompression, and setCompressionAlgorithm().

Referenced by disableCompressionModule(), and kdarView::disableFeatures().

{
    //remove the Z compression option
    if ( gzipRadioButton->isChecked() )
    {
        gzipRadioButton->setChecked( false );
        noneRadioButton->setChecked( true );
        setCompressionAlgorithm( libdar::none );
    }
    if ( gzipQHBox1 )
    {
        gzipQHBox1->remove( gzipRadioButton );
        delete gzipQHBox1;
        gzipQHBox1 = 0;
        gzipRadioButton->hide();
    }

    if ( gzipQHBox2 )
    {
        gzipQHBox2->remove( gzipTextLabel );
        gzipQHBox2->remove( compressionLevelSpinBox );
        delete gzipQHBox2;
        gzipQHBox2 = 0;
        gzipTextLabel->hide();
        compressionLevelSpinBox->hide();
    }
    m_ZCompression = false;
}


Generated by  Doxygen 1.6.0   Back to index