36 return action == aci->action;
88 if (parent !=
nullptr)
92 parent->insertAction(before, action);
96 parent->addAction(action);
99 action->setProperty(
"contributionItem", QVariant::fromValue(
Object::Pointer(
this)));
213 return action !=
nullptr && action->isEnabled();
514 return (value == -1) ?
true : value;
723 bool QActionContributionItem::IsCommandActive()
const
725 return action ? action->isVisible() :
true;
~QActionContributionItem()
bool IsVisible() const override
bool IsVisible() const override
virtual SmartPointer< IContributionManagerOverrides > GetOverrides()=0
Light weight base class for most BlueBerry classes.
bool operator==(const Object *o) const override
QAction * GetAction() const
bool IsDynamic() const override
bool IsEnabledAllowed() const
IContributionManager * GetParent() const
uint HashCode() const override
void Fill(QStatusBar *parent) override
bool IsEnabled() const override
QActionContributionItem(QAction *action, const QString &id)
uint qHash(const berry::Object &o)