Mantid
Loading...
Searching...
No Matches
Functions | Variables
RepoModel.cpp File Reference
#include "MantidQtWidgets/Common/RepoModel.h"
#include "MantidAPI/ScriptRepositoryFactory.h"
#include <utility>
#include <vector>
#include "MantidKernel/ConfigService.h"
#include "MantidKernel/Logger.h"
#include "MantidQtIcons/Icon.h"
#include <QIcon>
#include <QPixmap>
#include <QMessageBox>
#include <QtConcurrentRun>
#include <stdexcept>

Go to the source code of this file.

Functions

static QString download_thread (Mantid::API::ScriptRepository_sptr &pt, const std::string &path)
 Executes the download from ScriptRepository.
 

Variables

const char * nofile_flag = "nofile"
 

Function Documentation

◆ download_thread()

static QString download_thread ( Mantid::API::ScriptRepository_sptr pt,
const std::string &  path 
)
static

Executes the download from ScriptRepository.

This function will be executed in a separate thread

Definition at line 36 of file RepoModel.cpp.

References Mantid::API::ScriptRepoException::what().

Referenced by MantidQt::API::RepoModel::setData().

Variable Documentation

◆ nofile_flag

const char* nofile_flag = "nofile"