Commit 230b746b authored by Jan Möbius's avatar Jan Möbius

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5245 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0b6a4f5f
......@@ -85,7 +85,7 @@ void DataControlPlugin::pluginsInitialized() {
connect(sourceAction_, SIGNAL(triggered()), this, SLOT(slotContextMenuSource()) );
contextMenu->addAction(sourceAction_);
emit addContextMenu(contextMenu , DATA_ALL , CONTEXTOBJECTMENU);
emit addContextMenuItem(contextMenu->menuAction() , DATA_ALL , CONTEXTOBJECTMENU);
}
......
......@@ -76,8 +76,8 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
void log(Logtype _type, QString _message);
void log(QString _message);
// ContextMenuInterface
void addContextMenu(QMenu* _menu );
void addContextMenu(QMenu* _menu ,DataType _objectType , ContextMenuType _type );
void addContextMenuItem(QAction* _action , ContextMenuType _type);
void addContextMenuItem(QAction* _action , DataType _objectType , ContextMenuType _type );
private slots :
// BaseInterface
......
Markdown is supported
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