Пример #1
0
Uploader::Uploader(QObject *parent) :
    QObject(parent), _multipartData(nullptr)
{
    qsrand(126);
    _strBoundary = "uploadbound" + QByteArray::number(qrand());
    _net = new QNetworkAccessManager(this);
    _serverReply = nullptr;
    initUploadedStrList();

    UploaderConfig config;
    if (config.checkExistsConfigFile() == false)
    {
        config.defaultSettings();
    }
}
Пример #2
0
void ModuleUploader::defaultSettings()
{
    UploaderConfig config;
    config.defaultSettings();
}