X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2Fwidgets%2FBasicBlockWidget.hxx;h=215086d760b2cc7a03fb692fd75b71dc34b7790e;hp=e3d3611703937c521a207f0b655166172d9d7111;hb=9fd091260777a95432902173a35e15a475f6f9f9;hpb=aee81ec403637676282822ff680bce9fde998b9f;ds=sidebyside diff --git a/src/gui/widgets/BasicBlockWidget.hxx b/src/gui/widgets/BasicBlockWidget.hxx index e3d3611..215086d 100644 --- a/src/gui/widgets/BasicBlockWidget.hxx +++ b/src/gui/widgets/BasicBlockWidget.hxx @@ -15,6 +15,7 @@ class Mainwindow; class CustomQGraphicsTextItem; class BasicBlock; class RenameFunctionEvent; +class ChangeCommentEvent; class BasicBlockWidget : public QObject, public QGraphicsItem { @@ -48,6 +49,8 @@ public: private: void updateFunctionName(RenameFunctionEvent* event); void populateWidget(); + void changeCommentHandler(ChangeCommentEvent* event); + QString formatComments(Instruction* inst); uint32_t width, height; QString name;