Commit 2c682d42 authored by Jan Möbius's avatar Jan Möbius

Removed old unused code for toolboxactivated

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7344 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bc51acef
......@@ -385,12 +385,11 @@ Core::init() {
// connect signal to logger
connect(this,SIGNAL(scriptLog(QString )),newlog,SLOT(slotLog(QString )),Qt::DirectConnection);
// ======================================================================
// This connection will tell the plugins, when their Toolbox is active
// Set up QtScript Environment
// ======================================================================
///@todo reimplement
// connect(module_list,SIGNAL(currentChanged(int)),this,SLOT(slotToolboxSwitched(int)));
// Set a reference to the scriptengine for simple rpc calls
RPC::setScriptEngine(&scriptEngine_);
......
......@@ -553,9 +553,6 @@ private:
/// Gets called by examiner widget when Wheel is moved in picking mode
void slotWheelEvent( QWheelEvent * _event, const std::string & _mode);
/// The current Toolbox item has changed
// void slotToolboxSwitched(int _index);
/// Slot adding empty object from Menu
void slotAddEmptyObjectMenu();
......
......@@ -138,33 +138,6 @@ void Core::slotObjectPropertiesChanged( int _id )
emit objectPropertiesChanged(_id);
}
//====================================================================================
// === Toolbox handling =================
//=====================================================================================
/** If the Toolbox is switched the toolboxActivated function of the each plugin that has a toolbox is called by this function.
*/
// void
// Core::slotToolboxSwitched(int _index)
// {
// // Check all plugins
// for ( uint i = 0 ; i < plugins.size(); ++i) {
// if (plugins[i].toolboxindex == -1)
// continue;
//
// ToolboxInterface* toolboxPlugin = qobject_cast< ToolboxInterface * >(plugins[i].plugin);
// if (! toolboxPlugin)
// continue;
//
// // Call the corresponding function of the plugins
// if ( _index == plugins[i].toolboxindex ) {
// toolboxPlugin->toolboxActivated(true);
// } else {
// toolboxPlugin->toolboxActivated(false);
// }
// }
// }
//========================================================================================
// === Texture Communication ===========================
//========================================================================================
......
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