diff options
author | deva <deva> | 2009-07-30 08:36:12 +0000 |
---|---|---|
committer | deva <deva> | 2009-07-30 08:36:12 +0000 |
commit | 77272458e7a8906d871b241b5385bbd0f783d861 (patch) | |
tree | 7e32f988654c042be251c4ba31b72902402059f3 /client/macro.cc | |
parent | 1f8c58836dfd8dc8c9a0abeeaef6789325189f1b (diff) |
Removed the term 'course' everywhere, and replaced it by 'template'. This reduced/simplified the Template class structure a bit.
Diffstat (limited to 'client/macro.cc')
-rw-r--r-- | client/macro.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/macro.cc b/client/macro.cc index 2777cf5..7a1b51b 100644 --- a/client/macro.cc +++ b/client/macro.cc @@ -53,7 +53,7 @@ void Macro::update(QDomNode &n) iscompleted = xml_elem.attribute("completed", "false") == "true"; } -void Macro::init(QBoxLayout *layout, Macros ¯os, bool initialising, NetCom &netcom, QString course) +void Macro::init(QBoxLayout *layout, Macros ¯os, bool initialising, NetCom &netcom, QString templ) { QDomElement xml_elem = node.toElement(); @@ -89,7 +89,7 @@ void Macro::init(QBoxLayout *layout, Macros ¯os, bool initialising, NetCom & // if(macros.find(name) == macros.end()) { if(window == NULL) { - window = new MacroWindow(netcom, node, course, !isstatic, iscompact); + window = new MacroWindow(netcom, node, templ, !isstatic, iscompact); /* QWidget *edge = new QWidget(); |