38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
40 #include <QtCore/QString>
41 #include <QtCore/QStringList>
42 #include <QtCore/QUrl>
43 #include <QtCore/QObject>
Represents a data resource for TOPPAS workflows.
Definition: TOPPASResource.h:56
~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:81
TOPPASResource(const QString &file)
Constructor.
QString file_name_
The name of the local file.
Definition: TOPPASResource.h:88
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:86
TOPPASResource(const TOPPASResource &rhs)
Copy constructor.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47