Commit 63b9092a authored by Jan Möbius's avatar Jan Möbius
Browse files

Dennis: Dennis Changes due to menubar interface update

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e0589a90
......@@ -28,9 +28,9 @@ void ScriptingPlugin::pluginsInitialized() {
///@todo register objectid variable
// Scriping Menu
QMenu *scriptingMenu = new QMenu(tr("&Scripting"));
QMenu *scriptingMenu;
emit addMenubarAction(scriptingMenu->menuAction(), TOPLEVELMENU );
emit getMenubarMenu(tr("&Scripting"), scriptingMenu, true );
QIcon icon;
QAction* showWidget = scriptingMenu->addAction( "Show script editor" );
......@@ -33,7 +33,7 @@ signals:
void log(Logtype _type, QString _message);
void log(QString _message);
void addMenubarAction(QAction* _action, MenuActionType _type );
void getMenubarMenu (QString _name, QMenu *& _menu, bool _create);
void getDescription(QString _function, QString& _description,
QStringList& _parameters, QStringList& _descriptions);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment