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

void KDarConfig::setupRestoreConfig (  ) 

Disables configure modules that are not needed for restoration.

Definition at line 2303 of file kdarConfig.cpp.

References hideCreateArchiveWizardCheckBox(), and hideKDarSplashCheckBox().

Referenced by kdarView::kdarView(), and kdarView::slotConfigureRestoreSettings().

{
    //remove the font item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Fonts" ), Qt::CaseSensitive ) );
    //remove the slicing item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Slicing" ), Qt::CaseSensitive ) );
    //remove the compresion item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Compression" ), Qt::CaseSensitive ) );
    //remove the comparison item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Comparison" ), Qt::CaseSensitive ) );
    //remove the cryptography item, since KDar now probes the archive to
    //to determine the type of encryption algorithm that was used to create
    //the archive.
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Cryptography" ), Qt::CaseSensitive ) );
    //Hide the useCreateArchiveWizard checkbox in the General module
    hideCreateArchiveWizardCheckBox();
    //Hide the showKDarSplashCheckBox
    hideKDarSplashCheckBox();
}


Generated by  Doxygen 1.6.0   Back to index