Gui::MenuItem Class Reference

#include <MenuManager.h>

Public Member Functions

MenuItemafterItem (MenuItem *) const
 
void appendItem (MenuItem *)
 
void clear ()
 
std::string command () const
 
MenuItemcopy () const
 
uint count () const
 
MenuItemfindItem (const std::string &)
 
MenuItemfindParentOf (const std::string &)
 
QList< MenuItem * > getItems () const
 
bool hasItems () const
 
bool insertItem (MenuItem *, MenuItem *)
 
 MenuItem ()
 
 MenuItem (MenuItem *)
 
MenuItemoperator<< (const std::string &command)
 
MenuItemoperator<< (MenuItem *item)
 
void removeItem (MenuItem *)
 
void setCommand (const std::string &)
 
 ~MenuItem ()
 

Constructor & Destructor Documentation

◆ MenuItem() [1/2]

MenuItem::MenuItem ( )

Referenced by copy(), and operator<<().

◆ MenuItem() [2/2]

MenuItem::MenuItem ( MenuItem item)

References appendItem().

◆ ~MenuItem()

MenuItem::~MenuItem ( )

References clear().

Member Function Documentation

◆ afterItem()

MenuItem * MenuItem::afterItem ( MenuItem item) const

◆ appendItem()

void MenuItem::appendItem ( MenuItem item)

◆ clear()

void MenuItem::clear ( )

Referenced by ~MenuItem().

◆ command()

std::string MenuItem::command ( ) const

◆ copy()

◆ count()

◆ findItem()

◆ findParentOf()

MenuItem * MenuItem::findParentOf ( const std::string &  name)

◆ getItems()

QList< MenuItem * > MenuItem::getItems ( ) const

◆ hasItems()

◆ insertItem()

◆ operator<<() [1/2]

MenuItem & MenuItem::operator<< ( const std::string &  command)

References command(), MenuItem(), and setCommand().

◆ operator<<() [2/2]

MenuItem & MenuItem::operator<< ( MenuItem item)

References appendItem().

◆ removeItem()

◆ setCommand()


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