]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
ASL: action() and actionId() now are public
authorasl <asl@opencascade.com>
Fri, 28 Apr 2006 11:01:45 +0000 (11:01 +0000)
committerasl <asl@opencascade.com>
Fri, 28 Apr 2006 11:01:45 +0000 (11:01 +0000)
src/SUIT/SUIT_Application.h

index 5bab83a1445a7154eb515c0d995bc3158ac9498a..4c0683e308f1386d537f34b8b92f733cb70d9398 100755 (executable)
@@ -104,6 +104,9 @@ public:
   //! Invokes application-specific "Select Directory" dialog and returns the selected directory name.
   virtual QString getDirectory( const QString& initial, const QString& caption, QWidget* parent ) = 0;
 
+  QAction*              action( const int ) const;
+  int                   actionId( const QAction* ) const;
+
 signals:
   void                  applicationClosed( SUIT_Application* );
   void                  activated( SUIT_Application* );
@@ -144,8 +147,6 @@ protected:
   void                  setActionShown( const int, const bool );
 
   static QAction*       separator();
-  QAction*              action( const int ) const;
-  int                   actionId( const QAction* ) const;
   int                   registerAction( const int, QAction* );
   QAction*              createAction( const int, const QString&, const QIconSet&, const QString&,
                                       const QString&, const int, QObject* = 0,