33 #include "scribusapi.h"
39 ScrPopupMenu ( QWidget * parent = 0,
const QString pMenuName = QString::null,
const QString pMenuText = QString::null,
const QString parentName = QString::null,
bool checkable =
false);
42 const QString getMenuName();
43 const QString getParentMenuName();
44 const QString getMenuText();
45 void setText(
const QString pMenuText);
46 const QIcon getMenuIcon();
47 void setMenuIcon(
const QIcon pMenuIcon);
48 void setEnabled(
bool menuEnabled);
49 QMenu *getLocalPopupMenu();
50 bool repopulateLocalMenu();
54 bool insertMenuItem(
ScrAction *newMenuAction);
56 bool insertMenuSeparator();
60 bool removeMenuItem(
ScrAction *menuAction);
61 bool setSubMenuText(
ScrAction *menuAction);
63 bool generateEntryList(QStringList *actNames);
64 void setParentMenuName(
const QString& newParentMenuName);
67 QMenu *localPopupMenu;
68 QList< QPointer<QObject> > menuItemList;
70 QString parentMenuName;
Definition: scraction.h:33