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

void KDarConfig::operator= ( const KDarConfig kdc  ) 

Assignment operator

Definition at line 1227 of file kdarConfig.cpp.

References allowOverwrite(), archiveName(), archiveStorageDirectory(), compressionAlgorithm(), compressionLevel(), compressionMaskList(), compressionMaskType(), cryptoAlgorithm(), cryptoBlockSize(), directoryMaskList(), directoryMaskTypes(), dryRun(), executeCommand(), executeRef(), extractArchiveDirectory(), fileBrowserFont(), fileMaskList(), fileMaskType(), fillInDialog(), firstSliceSizeStrings(), firstSliceSizeSuffices(), flatRestore(), generalFont(), hourShiftInt(), ignoreDump(), ignoreID(), inputPipe(), keepPruned(), logFile(), logLevel(), media(), messageWindowFont(), minimumCompressionSizeInt(), noDelete(), outputPipe(), passRef(), pauseBetweenSlices(), restoreRecent(), setAllowOverwrite(), setArchiveName(), setArchiveStorageDirectory(), setCompressionAlgorithm(), setCompressionLevel(), setCompressionMaskList(), setCompressionMaskType(), setCryptoAlgorithm(), setCryptoBlockSize(), setDirectoryMaskList(), setDirectoryMaskTypes(), setDryRun(), setExecuteCommand(), setExecuteRef(), setExtractArchiveDirectory(), setFileBrowserFont(), setFileMaskList(), setFileMaskType(), setFirstSliceSizeStrings(), setFirstSliceSizeSuffices(), setFlatRestore(), setGeneralFont(), setHourShiftInt(), setIgnoreDump(), setIgnoreID(), setInputPipe(), setKeepPruned(), setLogFile(), setLogLevel(), setMedia(), setMessageWindowFont(), setMinimumCompressionSizeInt(), setNoDelete(), setOutputPipe(), setPauseBetweenSlices(), setRestoreRecent(), setShowKDarSplashScreen(), setSliceSizeString(), setSliceSizeSuffix(), setSplitArchive(), setStatusBarFont(), setStorePassword(), setSystemEA(), setUseCreateArchiveWizard(), setUserEA(), setVerbose(), setWarnOnOverwrite(), showKDarSplashScreen(), sliceSizeString(), sliceSizeSuffix(), splitArchive(), statusBarFont(), storePassword(), systemEA(), useCreateArchiveWizard(), userEA(), verbose(), and warnOnOverwrite().

{
    //set up an integer validator on the slicesize lineEdits
    kdDebug() << "kdarView::kdarView(): integer validator for lineEdits" << endl;
    QRegExp rx("[1-9][0-9]*");
    QRegExpValidator * restrictToWholeNumbers = new QRegExpValidator(rx, this);
    sliceSizeLineEdit->setValidator( restrictToWholeNumbers );
    firstSliceSizeLineEdit->setValidator( restrictToWholeNumbers );
    //Default media types:
    setArchiveName( _kdc.archiveName() );
    setArchiveStorageDirectory( _kdc.archiveStorageDirectory() );
    setExtractArchiveDirectory( _kdc.extractArchiveDirectory() );
    setInputPipe( _kdc.inputPipe() );
    setOutputPipe( _kdc.outputPipe() );
    setExecuteCommand( _kdc.executeCommand() );
    setCryptoAlgorithm( _kdc.cryptoAlgorithm() );
    setCryptoBlockSize( _kdc.cryptoBlockSize() );
    setStorePassword( _kdc.storePassword() );
    setExecuteRef( _kdc.executeRef() );
    setPassRef( _kdc.passRef() );

    setVerbose( _kdc.verbose() );
    setLogFile( _kdc.logFile() );
    setLogLevel( _kdc.logLevel() );
    setAllowOverwrite( _kdc.allowOverwrite() );
    setWarnOnOverwrite( _kdc.warnOnOverwrite() );
    setUserEA( _kdc.userEA() );
    setSystemEA( _kdc.systemEA() );
    setIgnoreID( _kdc.ignoreID() );
    setNoDelete( _kdc.noDelete() );
    setRestoreRecent( _kdc.restoreRecent() );
    setFlatRestore( _kdc.flatRestore() );

    setUseCreateArchiveWizard( _kdc.useCreateArchiveWizard() );
    setSplitArchive( _kdc.splitArchive() );
    setPauseBetweenSlices( _kdc.pauseBetweenSlices() );
    setKeepPruned( _kdc.keepPruned() );
    setIgnoreDump( _kdc.ignoreDump() );
    setMedia( _kdc.media() );
    setSliceSizeString( _kdc.sliceSizeString() );
    setSliceSizeSuffix( _kdc.sliceSizeSuffix() );
    setFirstSliceSizeStrings( _kdc.firstSliceSizeStrings() );
    setFirstSliceSizeSuffices( _kdc.firstSliceSizeSuffices() );
    setCompressionAlgorithm( _kdc.compressionAlgorithm() );
    setCompressionLevel( _kdc.compressionLevel() );
    setMinimumCompressionSizeInt( _kdc.minimumCompressionSizeInt() );
    setHourShiftInt( _kdc.hourShiftInt() );

    setCompressionMaskList(_kdc.compressionMaskList() );
    setDirectoryMaskList( _kdc.directoryMaskList() );
    setFileMaskList( _kdc.fileMaskList() );
    setCompressionMaskType( _kdc.compressionMaskType() );
    setDirectoryMaskTypes( _kdc.directoryMaskTypes() );
    setFileMaskType( _kdc.fileMaskType() );

    setGeneralFont( _kdc.generalFont() );
    setFileBrowserFont( _kdc.fileBrowserFont() );
    setMessageWindowFont( _kdc.messageWindowFont() );
    setStatusBarFont( _kdc.statusBarFont() );

    setShowKDarSplashScreen( _kdc.showKDarSplashScreen() );
    setDryRun( _kdc.dryRun() );

    fillInDialog();
}


Generated by  Doxygen 1.6.0   Back to index