Canorus 0.0
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CAActionDelegate Class Reference

#include <actiondelegate.h>

Public Member Functions

 CAActionDelegate (CAMainWin *mainWin)
 
void addWinActions (QWidget &widget)
 
void removeMainWinActions ()
 
void updateMainWinActions ()
 

Protected Member Functions

void addSingleAction (const QString &oCommandName, const QString &oDescription, const QAction &oAction)
 
void updateSingleAction (CASingleAction &oSource, QAction &oAction)
 

Private Attributes

CAMainWin_mainWin
 

Constructor & Destructor Documentation

◆ CAActionDelegate()

CAActionDelegate::CAActionDelegate ( CAMainWin mainWin)

Copyright (c) 2015, Reinhard Katzmann, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.

References _mainWin.

Member Function Documentation

◆ addSingleAction()

void CAActionDelegate::addSingleAction ( const QString &  oCommandName,
const QString &  oDescription,
const QAction oAction 
)
protected

◆ addWinActions()

void CAActionDelegate::addWinActions ( QWidget &  widget)

References addSingleAction().

Referenced by CAActionStorage::addWinActions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeMainWinActions()

void CAActionDelegate::removeMainWinActions ( )

◆ updateMainWinActions()

void CAActionDelegate::updateMainWinActions ( )

References _mainWin, CASettings::getSingleAction(), CACanorus::settings(), and updateSingleAction().

Referenced by CAActionStorage::addWinActions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateSingleAction()

void CAActionDelegate::updateSingleAction ( CASingleAction oSource,
QAction oAction 
)
protected

References CASingleAction::getAction(), CASingleAction::getCommandName(), and CASingleAction::getDescription().

Referenced by updateMainWinActions().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _mainWin

CAMainWin* CAActionDelegate::_mainWin
private

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