From 77272458e7a8906d871b241b5385bbd0f783d861 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 30 Jul 2009 08:36:12 +0000 Subject: Removed the term 'course' everywhere, and replaced it by 'template'. This reduced/simplified the Template class structure a bit. --- client/macro.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/macro.cc') 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(); -- cgit v1.2.3