From: asl Date: Fri, 28 Apr 2006 11:01:45 +0000 (+0000) Subject: ASL: action() and actionId() now are public X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=31b2438ca966842ef8f25a52139f9fcefbe9f112;p=modules%2Fgui.git ASL: action() and actionId() now are public --- diff --git a/src/SUIT/SUIT_Application.h b/src/SUIT/SUIT_Application.h index 5bab83a14..4c0683e30 100755 --- a/src/SUIT/SUIT_Application.h +++ b/src/SUIT/SUIT_Application.h @@ -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,