8 #include "fwGuiQt/container/QtMenuItemContainer.hpp" 23 QtMenuItemContainer::~QtMenuItemContainer() noexcept
29 void QtMenuItemContainer::clean()
31 SLM_ASSERT(
"The qtMenuItem is not yet initialized, cleaning is thus impossible", m_menuItem);
36 void QtMenuItemContainer::destroyContainer()
38 SLM_ASSERT(
"The qtMenuItem is not yet initialized, cleaning is thus impossible", m_menuItem);
43 void QtMenuItemContainer::setQtMenuItem(QAction* menuItem)
45 this->m_menuItem = menuItem;
50 QAction* QtMenuItemContainer::getQtMenuItem()
52 return this->m_menuItem;
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...