diff options
author | deva <deva> | 2009-06-30 17:31:53 +0000 |
---|---|---|
committer | deva <deva> | 2009-06-30 17:31:53 +0000 |
commit | 9a773bc9ed736301b5ac6f6f8798056194398011 (patch) | |
tree | a113908743936aea97975adb6f4f1c7f49e6b007 /client/macrowindow.h | |
parent | b31e7fba17d1e5c1264c0829c4da258c32aa80c3 (diff) |
Removed console on win32 unless, compiled in debug mode. First attempt on a macro dependency system.
Diffstat (limited to 'client/macrowindow.h')
-rw-r--r-- | client/macrowindow.h | 9 |
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__*/ |