Commit 6c23a71d authored by Jan Möbius's avatar Jan Möbius
Browse files

Switched to new slotObjectUpdated

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9099 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2b5ba4e8
......@@ -302,7 +302,7 @@ void DataControlPlugin::slotObjectPropertiesChanged( int _identifier ){
*
* @param _identifier id of an object
*/
void DataControlPlugin::slotObjectUpdated( int _identifier ){
void DataControlPlugin::slotObjectUpdated( int _identifier , UpdateType _type ){
}
......
......@@ -80,7 +80,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
signals:
// BaseInterface
void updateView();
void updatedObject(int);
void updatedObject(int _it, UpdateType _type);
void setSlotDescription(QString _slotName, QString _slotDescription,
QStringList _parameters, QStringList _descriptions);
......@@ -105,7 +105,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
// BaseInterface
void initializePlugin();
void pluginsInitialized();
void slotObjectUpdated ( int _identifier );
void slotObjectUpdated ( int _identifier , UpdateType _type);
void slotVisibilityChanged ( int _identifier );
void slotObjectSelectionChanged ( int _identifier );
void slotObjectPropertiesChanged( int _identifier );
......
......@@ -549,7 +549,7 @@ void DataControlPlugin::slotSwitchLight() {
light->lightSource()->disable() :
light->lightSource()->enable();
emit updatedObject(id);
emit updatedObject(id, UPDATE_ALL);
}
}
......
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