18 #ifndef BERRYCONTRIBUTIONMANAGER_H
19 #define BERRYCONTRIBUTIONMANAGER_H
25 struct IContributionManagerOverrides;
63 void Add(QAction* action,
const QString&
id)
override;
73 void AppendToGroup(
const QString& groupName, QAction* action,
const QString&
id)
override;
88 QList<SmartPointer<IContributionItem> >
GetItems()
const override;
113 int IndexOf(
const QString&
id);
305 QList<SmartPointer<IContributionItem> > contributions;
343 #endif // BERRYCONTRIBUTIONMANAGER_H
berryObjectMacro(berry::ContributionManager)~ContributionManager()
void RemoveAll() override
SmartPointer< IContributionManagerOverrides > GetOverrides() override
void SetDirty(bool dirty)
QList< SmartPointer< IContributionItem > > GetItems() const override
void ItemRemoved(const SmartPointer< IContributionItem > &item)
Implements transparent reference counting.
void InternalSetItems(const QList< SmartPointer< IContributionItem > > &items)
void Add(QAction *action, const QString &id) override
void AppendToGroup(const QString &groupName, QAction *action, const QString &id) override
void MarkDirty() override
SmartPointer< IContributionItem > Find(const QString &id) const override
bool ReplaceItem(const QString &identifier, const SmartPointer< IContributionItem > &replacementItem)
bool IsDirty() const override
bool IsEmpty() const override
bool HasDynamicItems() const
void InsertAfter(const QString &ID, const SmartPointer< IContributionItem > &item) override
virtual bool AllowItem(IContributionItem *itemToAdd)
void ItemAdded(const SmartPointer< IContributionItem > &item)
void SetOverrides(const SmartPointer< IContributionManagerOverrides > &newOverrides)
int IndexOf(const QString &id)
void InsertBefore(const QString &ID, const SmartPointer< IContributionItem > &item) override
void Insert(int index, const SmartPointer< IContributionItem > &item)
SmartPointer< IContributionItem > Remove(const QString &ID) override
void PrependToGroup(const QString &groupName, const SmartPointer< IContributionItem > &item) override