summaryrefslogtreecommitdiff
path: root/client/macrowindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/macrowindow.h')
-rw-r--r--client/macrowindow.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/client/macrowindow.h b/client/macrowindow.h
index c34c978..fad467b 100644
--- a/client/macrowindow.h
+++ b/client/macrowindow.h
@@ -47,7 +47,7 @@ class MacroWindow : public Collapser
{
Q_OBJECT
public:
- MacroWindow(NetCom *netcom, QDomNode &xml_doc, QString course,
+ MacroWindow(NetCom &netcom, QDomNode &xml_doc, QString course,
bool collapsed = true, bool compact = false);
~MacroWindow();
@@ -67,8 +67,9 @@ public:
void update(QDomNode &xml_doc);
+ void setActive(bool active);
+
QString macrotitle;
- bool isstatic;
public slots:
void commit();
@@ -87,6 +88,7 @@ public slots:
signals:
void updateOnCommit();
void macroHasChanged();
+ void activationChanged(bool);
private:
void initMacro(QDomNode &node);
@@ -103,9 +105,10 @@ private:
bool isclosed;
void close();
- NetCom *netcom;
+ NetCom &netcom;
bool waschanged;
+ bool active;
};
#endif/*__PRACRO_MACROWINDOW_H__*/