Commit dbaa6708 authored by KLOCZKO Thibaud's avatar KLOCZKO Thibaud

Correct some stuff in concept generator.

parent 69ef6609
......@@ -27,8 +27,8 @@ void dtkConceptGenerator::accept()
//define variables required for abstraction
values.insert("${ABSTRACTION}", prefix+"Abstract"+name);
values.insert("${LAYER_NAME}",prefix+layer);
values.insert("${_LAYER_NAME}",(prefix+layer).toUpper());
values.insert("${LAYER_NAME}", prefix+layer);
values.insert("${_LAYER_NAME}", (prefix+layer).toUpper());
bool inheritsCustom,inheritsQObject,inheritsQRunnable,pluginSystem, inherits=false;
......@@ -60,9 +60,9 @@ void dtkConceptGenerator::accept()
{
QString separator=inherits?",": "";
values.insert("${QRUNNABLE}",separator+"QRunnable");
values.insert("${QRUNNABLE}",separator+"public QRunnable");
values.insert("${QRUNNABLE_CTR}",separator+"QRunnable()");
values.insert("${QRUNNABLE_INCLUDE}","#include<QRunnable>");
values.insert("${QRUNNABLE_INCLUDE}","#include <QRunnable>");
inherits=true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment