Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / XGUI / XGUI_ContextMenuMgr.h
index a48bd79c770d442bab75cf086aa5a2d108f73b44..64c846b18e2bd1aababd9f6da27b7438b613d69a 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef XGUI_ContextMenuMgr_H
 #define XGUI_ContextMenuMgr_H
 
@@ -13,12 +12,12 @@ class QContextMenuEvent;
 class QMenu;
 
 /**
-* A claas wihich provides manement of context menu
-*/
-class XGUI_EXPORT XGUI_ContextMenuMgr: public QObject
+ * A claas wihich provides manement of context menu
+ */
+class XGUI_EXPORT XGUI_ContextMenuMgr : public QObject
 {
 Q_OBJECT
-public:
+ public:
   XGUI_ContextMenuMgr(XGUI_Workshop* theParent);
   virtual ~XGUI_ContextMenuMgr();
 
@@ -46,20 +45,19 @@ public:
 signals:
   void actionTriggered(const QString& theId, bool isChecked);
 
-private slots:
+ private slots:
   void onAction(bool isChecked);
 
   void onContextMenuRequest(QContextMenuEvent* theEvent);
 
-private:
+ private:
   /** 
-  * Add action
-  * \param theId - string ID of the item
-  * \param theAction - action to add
-  */
+   * Add action
+   * \param theId - string ID of the item
+   * \param theAction - action to add
+   */
   void addAction(const QString& theId, QAction* theAction);
 
-
   QMenu* objectBrowserMenu() const;
   QMenu* viewerMenu() const;
 
@@ -68,4 +66,4 @@ private:
   XGUI_Workshop* myWorkshop;
 };
 
-#endif
\ No newline at end of file
+#endif