equal
deleted
inserted
replaced
1586 insertAction(before, action); |
1586 insertAction(before, action); |
1587 return action; |
1587 return action; |
1588 } |
1588 } |
1589 |
1589 |
1590 /*! |
1590 /*! |
1591 This will set the default action to \a act. The default action may |
1591 This sets the default action to \a act. The default action may have |
1592 have a visual queue depending on the current QStyle. A default |
1592 a visual cue, depending on the current QStyle. A default action |
1593 action is usually meant to indicate what will defaultly happen on a |
1593 usually indicates what will happen by default when a drop occurs. |
1594 drop, as shown in a context menu. |
|
1595 |
1594 |
1596 \sa defaultAction() |
1595 \sa defaultAction() |
1597 */ |
1596 */ |
1598 void QMenu::setDefaultAction(QAction *act) |
1597 void QMenu::setDefaultAction(QAction *act) |
1599 { |
1598 { |