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 ){ ...@@ -302,7 +302,7 @@ void DataControlPlugin::slotObjectPropertiesChanged( int _identifier ){
* *
* @param _identifier id of an object * @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 ...@@ -80,7 +80,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
signals: signals:
// BaseInterface // BaseInterface
void updateView(); void updateView();
void updatedObject(int); void updatedObject(int _it, UpdateType _type);
void setSlotDescription(QString _slotName, QString _slotDescription, void setSlotDescription(QString _slotName, QString _slotDescription,
QStringList _parameters, QStringList _descriptions); QStringList _parameters, QStringList _descriptions);
...@@ -105,7 +105,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn ...@@ -105,7 +105,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
// BaseInterface // BaseInterface
void initializePlugin(); void initializePlugin();
void pluginsInitialized(); void pluginsInitialized();
void slotObjectUpdated ( int _identifier ); void slotObjectUpdated ( int _identifier , UpdateType _type);
void slotVisibilityChanged ( int _identifier ); void slotVisibilityChanged ( int _identifier );
void slotObjectSelectionChanged ( int _identifier ); void slotObjectSelectionChanged ( int _identifier );
void slotObjectPropertiesChanged( int _identifier ); void slotObjectPropertiesChanged( int _identifier );
......
...@@ -549,7 +549,7 @@ void DataControlPlugin::slotSwitchLight() { ...@@ -549,7 +549,7 @@ void DataControlPlugin::slotSwitchLight() {
light->lightSource()->disable() : light->lightSource()->disable() :
light->lightSource()->enable(); 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