|
Eneboo - Documentación para desarrolladores
|
#include <actiondnd.h>
Métodos públicos | |
| QSeparatorAction (QObject *parent) | |
| bool | addTo (QWidget *w) |
| bool | removeFrom (QWidget *w) |
| QWidget * | widget () const |
| int | index () const |
| QSeparatorAction::QSeparatorAction | ( | QObject * | parent | ) |
Adds this action to widget w.
Currently actions may be added to QToolBar and QPopupMenu widgets.
An action added to a tool bar is automatically displayed as a tool button; an action added to a pop up menu appears as a menu option.
addTo() returns TRUE if the action was added successfully and FALSE otherwise. (If w is not a QToolBar or QPopupMenu the action will not be added and FALSE will be returned.)
Reimplementado de QAction.
| int QSeparatorAction::index | ( | ) | const |
| QWidget * QSeparatorAction::widget | ( | ) | const |
1.7.4