Base: Remove Boost-based signals and switch to FastSignals.
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
App::PropertyPlacement Placement;
|
||||
|
||||
// boost::signals2::signal<void (const MeasureBase*)> signalGuiInit;
|
||||
// fastsignals::signal<void (const MeasureBase*)> signalGuiInit;
|
||||
|
||||
// return PyObject as MeasureBasePy
|
||||
PyObject* getPyObject() override;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#include <Gui/Selection/Selection.h>
|
||||
|
||||
#include <boost/signals2/connection.hpp>
|
||||
#include <fastsignals/connection.h>
|
||||
|
||||
namespace MeasureGui
|
||||
{
|
||||
@@ -90,7 +90,7 @@ private:
|
||||
QAction* newMeasurementBehaviourAction {nullptr};
|
||||
QToolButton* mSettings {nullptr};
|
||||
|
||||
boost::signals2::connection m_deletedConnection;
|
||||
fastsignals::connection m_deletedConnection;
|
||||
|
||||
void removeObject();
|
||||
void onModeChanged(int index);
|
||||
|
||||
@@ -168,7 +168,7 @@ protected:
|
||||
SoSeparator* pLineSeparatorSecondary;
|
||||
|
||||
private:
|
||||
boost::signals2::connection _mVisibilityChangedConnection;
|
||||
fastsignals::connection _mVisibilityChangedConnection;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user