Base class that contains common functionality used by MenuAction and MenuSeparator objects.
More...
#include <synthclone/menuitem.h>
|
bool | isVisible () const |
| Gets a boolean indicating whether or not the item is visible. More...
|
|
Base class that contains common functionality used by MenuAction and MenuSeparator objects.
synthclone::MenuItem::MenuItem |
( |
QObject * |
parent = 0 | ) |
|
|
explicitprotected |
Constructs a new MenuItem object.
This constructor cannot be called directly; instead, the subclass constructors should be used.
- Parameters
-
parent | The parent object of the new menu item. |
- See also
- MenuAction, MenuSeparator
virtual synthclone::MenuItem::~MenuItem |
( |
| ) |
|
|
protectedvirtual |
bool synthclone::MenuItem::isVisible |
( |
| ) |
const |
Gets a boolean indicating whether or not the item is visible.
- Returns
- The specified boolean.
void synthclone::MenuItem::setVisible |
( |
bool |
visible | ) |
|
|
slot |
Sets the visibility of this item.
- Parameters
-
visible | Whether or not the menu item should be visible. |
void synthclone::MenuItem::visibilityChanged |
( |
bool |
visible | ) |
|
|
signal |
Emitted when the visibility of this item is changed.
- Parameters
-
visible | Whether or not the menu item is visible. |
The documentation for this class was generated from the following file: