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

Don't use deprecated slotObjectUpdated functions in Type plugins anymore

closes #1761



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17697 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5f963506
......@@ -151,7 +151,10 @@ void TypeHexahedralMeshPlugin::slotKeyEvent(QKeyEvent* _event) {
//----------------------------------------------------------------------------
void TypeHexahedralMeshPlugin::slotObjectUpdated(int _identifier) {
void TypeHexahedralMeshPlugin::slotObjectUpdated(int _identifier, const UpdateType& _type) {
if( !_type.contains(UPDATE_ALL) && !_type.contains(UPDATE_GEOMETRY))
return;
PlaneObject* pobj;
if (PluginFunctions::getObject(_identifier, pobj))
......
......@@ -84,7 +84,7 @@ signals:
private slots:
// BaseInterface
void slotObjectUpdated(int _identifier);
void slotObjectUpdated(int _identifier, const UpdateType& _type);
void objectDeleted(int _identifier);
void noguiSupported() {}
void pluginsInitialized();
......
......@@ -153,7 +153,10 @@ void TypePolyhedralMeshPlugin::slotKeyEvent(QKeyEvent* _event) {
//----------------------------------------------------------------------------
void TypePolyhedralMeshPlugin::slotObjectUpdated(int _identifier) {
void TypePolyhedralMeshPlugin::slotObjectUpdated(int _identifier, const UpdateType& _type) {
if( !_type.contains(UPDATE_ALL) && !_type.contains(UPDATE_GEOMETRY))
return;
PlaneObject* pobj;
if (PluginFunctions::getObject(_identifier, pobj))
......
......@@ -88,7 +88,7 @@ private slots:
void slotKeyEvent(QKeyEvent* _event);
void slotObjectUpdated(int _identifier);
void slotObjectUpdated(int _identifier, const UpdateType & _type);
void objectDeleted(int _identifier);
......
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