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

void KDarConfig::setupCreateConfig (  ) 

Disables configure modules that are not needed for creation

Definition at line 2266 of file kdarConfig.cpp.

References hideCreateArchiveWizardCheckBox(), and hideKDarSplashCheckBox().

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

{
    //remove the font item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Fonts" ), Qt::CaseSensitive ) );
    //remove the comparison item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Comparison" ), Qt::CaseSensitive ) );
    //remove the restore item
    configModulesKListBox->takeItem( configModulesKListBox->findItem( i18n( "config module", "Restore" ), Qt::CaseSensitive ) );

    //Hide the useCreateArchiveWizard checkbox in the General module
    hideCreateArchiveWizardCheckBox();
    //Hide the showKDarSplashCheckBox
    hideKDarSplashCheckBox();
    //Hide the storePassword checkbox, since this is set once and for
    //all in the main config dialog.
    //It is confusing if the create/restore configs can have a different
    //setting from the main config, because the "open" method looks to the
    //main config to determine whether to look in a wallet for the password.
    passwordGroupBox->hide();
}


Generated by  Doxygen 1.6.0   Back to index