@@ -465,7 +465,7 @@ ModuleProxyWidget* NetworkEditor::setupModuleWidget(ModuleWidget* module)
465465 }
466466
467467 LOG_TRACE (" NetworkEditor connecting to state." );
468- module ->getModule ()->get_state ()->connectStateChanged (boost::bind (&NetworkEditor::modified, this ) );
468+ module ->getModule ()->get_state ()->connectStateChanged ([ this ]() { modified (); } );
469469
470470 connect (this , SIGNAL (networkExecuted ()), module , SLOT (resetLogButtonColor ()));
471471 connect (this , SIGNAL (networkExecuted ()), module , SLOT (resetProgressBar ()));
@@ -609,13 +609,13 @@ void NetworkEditor::logViewerDims(const QString& msg)
609609void NetworkEditor::setMouseAsDragMode ()
610610{
611611 setDragMode (ScrollHandDrag);
612- tailRecurse (boost::bind ( &NetworkEditor::setMouseAsDragMode, _1) );
612+ tailRecurse (&NetworkEditor::setMouseAsDragMode);
613613}
614614
615615void NetworkEditor::setMouseAsSelectMode ()
616616{
617617 setDragMode (RubberBandDrag);
618- tailRecurse (boost::bind ( &NetworkEditor::setMouseAsSelectMode, _1) );
618+ tailRecurse (&NetworkEditor::setMouseAsSelectMode);
619619}
620620
621621void NetworkEditor::bringToFront ()
@@ -1281,7 +1281,7 @@ void NetworkEditor::centerView()
12811281{
12821282 if (!isActiveWindow ())
12831283 {
1284- tailRecurse (boost::bind ( &NetworkEditor::centerView, _1) );
1284+ tailRecurse (&NetworkEditor::centerView);
12851285 return ;
12861286 }
12871287
@@ -1782,7 +1782,7 @@ void NetworkEditor::selectAll()
17821782{
17831783 if (!isActiveWindow ())
17841784 {
1785- tailRecurse (boost::bind ( &NetworkEditor::selectAll, _1) );
1785+ tailRecurse (&NetworkEditor::selectAll);
17861786 return ;
17871787 }
17881788
@@ -1796,7 +1796,7 @@ void NetworkEditor::pinAllModuleUIs()
17961796{
17971797 if (!isActiveWindow ())
17981798 {
1799- tailRecurse (boost::bind ( &NetworkEditor::pinAllModuleUIs, _1) );
1799+ tailRecurse (&NetworkEditor::pinAllModuleUIs);
18001800 return ;
18011801 }
18021802
@@ -1812,7 +1812,7 @@ void NetworkEditor::hideAllModuleUIs()
18121812{
18131813 if (!isActiveWindow ())
18141814 {
1815- tailRecurse (boost::bind ( &NetworkEditor::hideAllModuleUIs, _1) );
1815+ tailRecurse (&NetworkEditor::hideAllModuleUIs);
18161816 return ;
18171817 }
18181818
@@ -1848,7 +1848,7 @@ void NetworkEditor::restoreAllModuleUIs()
18481848{
18491849 if (!isActiveWindow ())
18501850 {
1851- tailRecurse (boost::bind ( &NetworkEditor::restoreAllModuleUIs, _1) );
1851+ tailRecurse (&NetworkEditor::restoreAllModuleUIs);
18521852 return ;
18531853 }
18541854
@@ -1913,7 +1913,7 @@ void NetworkEditor::zoomIn()
19131913{
19141914 if (!isActiveWindow ())
19151915 {
1916- tailRecurse (boost::bind ( &NetworkEditor::zoomIn, _1) );
1916+ tailRecurse (&NetworkEditor::zoomIn);
19171917 return ;
19181918 }
19191919
@@ -1933,7 +1933,7 @@ void NetworkEditor::zoomOut()
19331933{
19341934 if (!isActiveWindow ())
19351935 {
1936- tailRecurse (boost::bind ( &NetworkEditor::zoomOut, _1) );
1936+ tailRecurse (&NetworkEditor::zoomOut);
19371937 return ;
19381938 }
19391939
@@ -1952,7 +1952,7 @@ void NetworkEditor::zoomReset()
19521952{
19531953 if (!isActiveWindow ())
19541954 {
1955- tailRecurse (boost::bind ( &NetworkEditor::zoomReset, _1) );
1955+ tailRecurse (&NetworkEditor::zoomReset);
19561956 return ;
19571957 }
19581958
@@ -2044,7 +2044,7 @@ void NetworkEditor::metadataLayer(bool active)
20442044 if (module )
20452045 module ->updateMetadata (active);
20462046 }
2047- tailRecurse (boost::bind ( &NetworkEditor::metadataLayer, _1, active) );
2047+ // TODO: tailRecurse(&NetworkEditor::metadataLayer, active);
20482048}
20492049
20502050void NetworkEditor::adjustExecuteButtonsToDownstream (bool downOnly)
@@ -2058,7 +2058,7 @@ void NetworkEditor::adjustExecuteButtonsToDownstream(bool downOnly)
20582058 }
20592059 }
20602060
2061- tailRecurse (boost::bind ( &NetworkEditor::adjustExecuteButtonsToDownstream, _1, downOnly) );
2061+ // TODO: tailRecurse(&NetworkEditor::adjustExecuteButtonsToDownstream, downOnly);
20622062}
20632063
20642064void NetworkEditor::updateExecuteButtons (bool downstream)
@@ -2186,7 +2186,7 @@ void NetworkEditor::tagLayer(bool active, int tag)
21862186 removeTagGroups ();
21872187 }
21882188
2189- tailRecurse (boost::bind ( &NetworkEditor::tagLayer, _1, active, tag) );
2189+ // TODO: tailRecurse(&NetworkEditor::tagLayer, active, tag);
21902190}
21912191
21922192namespace
0 commit comments