Definition at line 136 of file qsystemtrayicon_mac.mm.
◆ initWithQMenu:()
- (id) initWithQMenu: |
|
(QMenu*) |
qmenu |
|
◆ menu()
◆ selectedAction:()
- (void) selectedAction: |
|
(id) |
item |
|
Definition at line 563 of file qsystemtrayicon_mac.mm.
564 const int activated = [
self indexOfItem:a];
567 for(
int i = 0, cnt = 0; i < actions.
size(); ++i) {
568 if(actions.
at(i)->
isVisible() && (cnt++) == activated) {
569 action = actions.
at(i);
void activate(ActionEvent event)
Sends the relevant signals for ActionEvent event.
long ASN1_INTEGER_get ASN1_INTEGER * a
const T & at(int i) const
Returns the item at index position i in the list.
int size() const
Returns the number of items in the list.
The QAction class provides an abstract user interface action that can be inserted into widgets...
The QList class is a template class that provides lists.
◆ qmenu
The documentation for this class was generated from the following file: