MenuInstance Class Reference

Public Member Functions

 MenuInstance (Menu *menu, QMenu *instance)
 
virtual ~MenuInstance ()
 
void update (UIActionHandler *handler, bool showInactiveActions=false)
 
void update (UIActionHandler *handler, const UIActionContext &context, bool showInactiveActions=false)
 
Menusource () const
 
QMenu * instance () const
 

Static Public Member Functions

static void updateActionBindings (const QString &name)
 

Constructor & Destructor Documentation

◆ MenuInstance()

MenuInstance::MenuInstance ( Menu menu,
QMenu *  instance 
)

◆ ~MenuInstance()

virtual MenuInstance::~MenuInstance ( )
virtual

Member Function Documentation

◆ instance()

QMenu * MenuInstance::instance ( ) const
inline

◆ source()

Menu * MenuInstance::source ( ) const
inline

◆ update() [1/2]

void MenuInstance::update ( UIActionHandler handler,
bool  showInactiveActions = false 
)

◆ update() [2/2]

void MenuInstance::update ( UIActionHandler handler,
const UIActionContext context,
bool  showInactiveActions = false 
)

◆ updateActionBindings()

static void MenuInstance::updateActionBindings ( const QString &  name)
static

The documentation for this class was generated from the following file: