12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
14 #include <QtCore/QString>
15 #include <QtCore/QStringList>
16 #include <QtCore/QUrl>
17 #include <QtCore/QObject>
Represents a data resource for TOPPAS workflows.
Definition: TOPPASResource.h:30
~TOPPASResource() override
Destructor.
const QString & getLocalFile() const
Returns the file name of the local file, or "" if it has not been written yet.
TOPPASResource(const QUrl &url)
Constructor from URL.
const QUrl & getURL() const
Returns the URL of this resource.
static QStringList supported_schemes
Supported schemes.
Definition: TOPPASResource.h:55
TOPPASResource(const QString &file)
Constructor.
QString file_name_
The name of the local file.
Definition: TOPPASResource.h:62
void writeToFile(const QString &file_name)
Writes this resource to the local file file.
void fromLocalFile(const QString &file)
Sets the URL of this resource from file.
TOPPASResource & operator=(const TOPPASResource &rhs)
Assignment operator.
QUrl url_
The URL of this resource.
Definition: TOPPASResource.h:60
TOPPASResource(const TOPPASResource &rhs)
Copy constructor.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22