From 31b2438ca966842ef8f25a52139f9fcefbe9f112 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 28 Apr 2006 11:01:45 +0000 Subject: [PATCH] ASL: action() and actionId() now are public --- src/SUIT/SUIT_Application.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, -- 2.39.2