X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Command.cpp;h=59df312b1e3338caf61be7232afe89797af4c5da;hb=dbe90044b0b96aa64dfe6609083413da2bdf08ec;hp=01b3bf83595f4d8a4dd6d420da4e021285dc1d80;hpb=2c4f7de06341fa7af89f47ba405fe188f13e3600;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Command.cpp b/src/XGUI/XGUI_Command.cpp index 01b3bf835..59df312b1 100644 --- a/src/XGUI/XGUI_Command.cpp +++ b/src/XGUI/XGUI_Command.cpp @@ -3,14 +3,16 @@ #include XGUI_Command::XGUI_Command(const QString& theId, QObject * parent, bool isCheckable) - : QWidgetAction(parent), myCheckable(isCheckable) + : QWidgetAction(parent), + myCheckable(isCheckable) { setData(theId); } XGUI_Command::XGUI_Command(const QString& theId, const QIcon& icon, const QString& text, QObject* parent, bool isCheckable) - : QWidgetAction(parent), myCheckable(isCheckable) + : QWidgetAction(parent), + myCheckable(isCheckable) { setIcon(icon); setText(text); @@ -52,7 +54,7 @@ QWidget* XGUI_Command::createWidget(QWidget* theParent) void XGUI_Command::connectTo(const QObject* theResiver, const char* theSlot) { - connect(this, SIGNAL(triggered(bool)), theResiver, theSlot); + connect(this, SIGNAL(triggered(bool)), theResiver, theSlot); } const QStringList& XGUI_Command::nestedCommands() const