Commit 76f33b3c authored by Jan Möbius's avatar Jan Möbius

Moved const UpdateType to reference

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13344 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e043429b
...@@ -177,7 +177,7 @@ void SkeletonEditingPlugin::pluginsInitialized() { ...@@ -177,7 +177,7 @@ void SkeletonEditingPlugin::pluginsInitialized() {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
void SkeletonEditingPlugin::slotObjectUpdated( int _id, const UpdateType _type){ void SkeletonEditingPlugin::slotObjectUpdated( int _id, const UpdateType& _type){
if ( !_type.contains(UPDATE_GEOMETRY) ) if ( !_type.contains(UPDATE_GEOMETRY) )
return; return;
......
...@@ -42,7 +42,7 @@ class SkeletonEditingPlugin : public QObject, BaseInterface, MouseInterface, Key ...@@ -42,7 +42,7 @@ class SkeletonEditingPlugin : public QObject, BaseInterface, MouseInterface, Key
signals: signals:
// BaseInterface // BaseInterface
void updateView(); void updateView();
void updatedObject(int, const UpdateType _type); void updatedObject(int, const UpdateType& _type);
void nodeVisibilityChanged(int); void nodeVisibilityChanged(int);
void setRenderer(unsigned int _viewer, QString _rendererName); void setRenderer(unsigned int _viewer, QString _rendererName);
...@@ -88,7 +88,7 @@ class SkeletonEditingPlugin : public QObject, BaseInterface, MouseInterface, Key ...@@ -88,7 +88,7 @@ class SkeletonEditingPlugin : public QObject, BaseInterface, MouseInterface, Key
// BaseInterface // BaseInterface
void initializePlugin(); void initializePlugin();
void pluginsInitialized(); void pluginsInitialized();
void slotObjectUpdated( int _id, const UpdateType _type); void slotObjectUpdated( int _id, const UpdateType& _type);
// MouseInterface // MouseInterface
void slotMouseWheelEvent(QWheelEvent * _event, const std::string & _mode); void slotMouseWheelEvent(QWheelEvent * _event, const std::string & _mode);
......
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