forked from jfnavarro/st_viewer
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathError.cpp
More file actions
executable file
·50 lines (37 loc) · 752 Bytes
/
Error.cpp
File metadata and controls
executable file
·50 lines (37 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
Copyright (C) 2012 Spatial Transcriptomics AB,
read LICENSE for licensing terms.
Contact : Jose Fernandez Navarro <jose.fernandez.navarro@scilifelab.se>
*/
#include "Error.h"
Error::Error(QObject* parent)
: QObject(parent),
m_name(),
m_description()
{
}
Error::Error(const QString& name, const QString& description, QObject* parent)
: QObject(parent),
m_name(name),
m_description(description)
{
}
Error::~Error()
{
}
const QString Error::name() const
{
return m_name;
}
const QString Error::description() const
{
return m_description;
}
void Error::name(const QString& name)
{
m_name = name;
}
void Error::description(const QString& description)
{
m_description = description;
}