42 #ifndef QACTIONGROUP_H 43 #define QACTIONGROUP_H 45 #include <QtGui/qaction.h> 77 bool isExclusive() const;
78 bool isEnabled() const;
79 bool isVisible() const;
82 inline QT3_SUPPORT
void add(
QAction* a) { addAction(a); }
83 inline QT3_SUPPORT
void addSeparator()
85 inline QT3_SUPPORT
bool addTo(
QWidget *w) { w->
addActions(actions());
return true; }
89 void setEnabled(
bool);
91 void setVisible(
bool);
92 void setExclusive(
bool);
106 #endif // QT_NO_ACTION 112 #endif // QACTIONGROUP_H
#define QT_END_NAMESPACE
This macro expands to.
void setSeparator(bool b)
If b is true then this action will be considered a separator.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
long ASN1_INTEGER_get ASN1_INTEGER * a
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
The QActionGroup class groups actions together.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void setDisabled(bool b)
This is a convenience function for the enabled property, that is useful for signals–slots connection...
#define Q_DECLARE_PRIVATE(Class)
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.
The QIcon class provides scalable icons in different modes and states.