Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / XGUI / XGUI_Command.h
index 9367e83756404b43ca11b836642be6166de01249..696518789e5016eb85d83661af23a32e5c7599e2 100644 (file)
@@ -4,7 +4,6 @@
 #include "XGUI.h"
 #include <QWidgetAction>
 
-
 #define MIN_BUTTON_HEIGHT 25
 #define MIN_BUTTON_WIDTH 60
 
  * \ingroup GUI
  * \brief Represents a command item in the application menu (Workbench)
  */
-class XGUI_EXPORT XGUI_Command: public QWidgetAction
+class XGUI_EXPORT XGUI_Command : public QWidgetAction
 {
 Q_OBJECT
-public:
+ public:
   XGUI_Command(const QString& theId, QObject * parent, bool isCheckable = false);
-  XGUI_Command(const QString& theId, const QIcon& icon, const QString& text, QObject* parent, bool isCheckable = false);
+  XGUI_Command(const QString& theId, const QIcon& icon, const QString& text, QObject* parent,
+               bool isCheckable = false);
   ~XGUI_Command();
 
   //VSV: Don't use this method for compatibility with SALOME. Use the construction below
   /*virtual QString id() const
-  {
-    return data().toString();
-  }*/
+   {
+   return data().toString();
+   }*/
 
   const QStringList& nestedCommands() const;
   void setNestedCommands(const QStringList& myUnblockableCommands);
@@ -32,11 +32,11 @@ public:
   //! Connect the command to a slot
   virtual void connectTo(const QObject* theResiver, const char* theSlot);
 
-protected:
+ protected:
   //! Creates a command representation widget dependently on parent widget type
   virtual QWidget* createWidget(QWidget* theParent);
 
-private:
+ private:
   bool myCheckable;
   //! List of Ids of commands which WILL NOT be blocked when the command is on.
   QStringList myNestedCommands;