]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlConnections.C
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlConnections.C
index 0f99ed064190cd2ca5b814a3260ed879865bcfa3..83c42e701a8ab623c22369077c798035957b3154 100644 (file)
@@ -1,32 +1,29 @@
-/* This file is part of
- * ======================================================
- *
- *           LyX, The Document Processor
- *
- *           Copyright 2001 The LyX Team.
+/**
+ * \file ControlConnections.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * ======================================================
+ * \author Angus Leeming
  *
- * \file ControlConnections.C
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "ControlConnections.h"
+
 #include "ViewBase.h"
-#include "Dialogs.h"
+
 #include "buffer.h"
 #include "BufferView.h"
 
+#include "frontends/Dialogs.h"
 #include "frontends/LyXView.h"
 
 #include <boost/bind.hpp>
 
+
 ControlConnectBase::ControlConnectBase(LyXView & lv, Dialogs & d)
        : lv_(lv), d_(d)
 {}
@@ -34,7 +31,7 @@ ControlConnectBase::ControlConnectBase(LyXView & lv, Dialogs & d)
 
 void ControlConnectBase::connect()
 {
-       r_ = d_.redrawGUI.
+       r_ = d_.redrawGUI().
                connect(boost::bind(&ControlConnectBase::redraw, this));
 }
 
@@ -128,7 +125,7 @@ ControlConnectBI::ControlConnectBI(LyXView & lv, Dialogs & d)
 
 void ControlConnectBI::connect()
 {
-       h_ = d_.hideAll.connect(boost::bind(&ControlConnectBI::hide, this));
+       h_ = d_.hideAllSignal.connect(boost::bind(&ControlConnectBI::hide, this));
        ControlConnectBase::connect();
 }
 
@@ -139,9 +136,9 @@ ControlConnectBD::ControlConnectBD(LyXView & lv, Dialogs & d)
 
 void ControlConnectBD::connect()
 {
-       u_ = d_.updateBufferDependent.
+       u_ = d_.updateBufferDependentSignal.
                connect(boost::bind(&ControlConnectBD::updateSlot, this, _1));
-       h_ = d_.hideBufferDependent.
+       h_ = d_.hideBufferDependentSignal.
                connect(boost::bind(&ControlConnectBD::hide, this));
        ControlConnectBase::connect();
 }