50 #ifndef MENUBARINTERFACE_HH
51 #define MENUBARINTERFACE_HH
54 #if QT_VERSION >= 0x050000
64 #define FILEMENU tr("File")
67 #define VIEWMENU tr("View")
70 #define TOOLSMENU tr("Tools")
73 #define ALGORITHMMENU tr("Algorithms")
204 Q_DECLARE_INTERFACE(
MenuInterface,
"OpenFlipper.MenuInterface/1.0")
206 #endif // MENUBARINTERFACE_HH
virtual void addMenubarAction(QAction *_action, QString _name)
Adds an action to the menubar.
virtual ~MenuInterface()
Destructor.
virtual void addMenubarActions(std::vector< QAction * > &_actions, QString _name)
Add multiple actions to the menu bar.
virtual void getMenubarMenu(QString _name, QMenu *&_menu, bool _create)
Get a existing top level menu pointer or create a new one.
Interface for all plugins which provide entries to the main menubar.