pelican/utility/src/Config.cpp
/**
 * @details
 * Save the Configuration to specified file name
 */
@details
Save the Configuration to specified file name
@details Save the Configuration to specified file name
void Config::save(const QString& fileName) const
{
    if (fileName.isEmpty()) return;
    QFile file(fileName);
    if (!file.open(QFile::WriteOnly | QFile::Truncate))
        return;
    QTextStream out(&file);
    out << _document.toByteArray(4);
}
void Config :: save ( const QString & fileName ) const { if ( fileName . isEmpty ( ) ) return ; QFile file ( fileName ) ; if ( ! file . open ( QFile :: WriteOnly | QFile :: Truncate ) ) return ; QTextStream out ( & file ) ; out << _document . toByteArray ( 4 ) ; }
@details
 Save the Configuration to specified file name
@details Save the Configuration to specified file name