Skip to content
Snippets Groups Projects
Commit 1fbfd196 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Move implementation of Task methods into the cpp file

Reviewed-by: dt
parent 8a61347b
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,22 @@
namespace ProjectExplorer
{
Task::Task() : type(Unknown), line(-1)
{ }
Task::Task(TaskType type_, const QString &description_,
const QString &file_, int line_, const QString &category_) :
type(type_), description(description_), file(file_), line(line_), category(category_)
{ }
Task::Task(const Task &source) :
type(source.type), description(source.description), file(source.file),
line(source.line), category(source.category), formats(source.formats)
{ }
Task::~Task()
{ }
Task &Task::operator=(const Task &source)
{
type = source.type;
......
......@@ -48,18 +48,11 @@ public:
Warning
};
Task() : type(Unknown), line(-1)
{ }
Task();
Task(TaskType type_, const QString &description_,
const QString &file_, int line_, const QString &category_) :
type(type_), description(description_), file(file_), line(line_), category(category_)
{ }
Task(const Task &source) :
type(source.type), description(source.description), file(source.file),
line(source.line), category(source.category), formats(source.formats)
{ }
~Task()
{ }
const QString &file_, int line_, const QString &category_);
Task(const Task &source);
~Task();
Task &operator=(const Task &source);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment