Salome HOME
sources v1.2
[modules/kernel.git] / src / SALOMEGUI / QAD_ListMenuIdAction.h
index 5fe1417e8c45504c13abb5c2609aeb5f741fa801..7fec3677535f77f08e79008533da5b1385ea3840 100644 (file)
@@ -1,32 +1,52 @@
-//  File      : QAD_ListMenuIdAction.h
-//  Created   : Thu Jun 14 13:55:29 2001
-//  Author    : Nicolas REJNERI
-//  Project   : SALOME
-//  Module    : SALOMEGUI
-//  Copyright : Open CASCADE
+//  SALOME SALOMEGUI : implementation of desktop and GUI kernel
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : QAD_ListMenuIdAction.h
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
 #ifndef QAD_LISTMENUIDACTION_H
 #define QAD_LISTMENUIDACTION_H
 
 #include <qpopupmenu.h>
-#include <qaction.h>
+#include "qactionP.h"
 
 class QAD_ListMenuIdAction
 { 
 
 public:
-  QAD_ListMenuIdAction(QPopupMenu*,int,QAction*);
+  QAD_ListMenuIdAction(QPopupMenu*,int,QActionP*);
   virtual ~QAD_ListMenuIdAction();
 
   int         getId()     {return myId;}
   QPopupMenu* getMenu()   {return myMenu;}
-  QAction*    getAction() {return myAction;}
+  QActionP*    getAction() {return myAction;}
 
 private:
   QPopupMenu*  myMenu;
   int          myId;
-  QAction*     myAction;
+  QActionP*     myAction;
 };
 
 #endif