remove some unneeded Q_OBJECT macros, diff minimization

This commit is contained in:
Seth Alves 2015-03-17 19:12:26 -07:00
parent f9be7dda36
commit 2dd75fef2c
4 changed files with 4 additions and 10 deletions

View file

@ -16,9 +16,6 @@
#include "EntityItem.h"
class NetworkGeometry;
class GeometryCache;
class ModelEntityItem : public EntityItem {
public:
static EntityItem* factory(const EntityItemID& entityID, const EntityItemProperties& properties);
@ -52,6 +49,7 @@ public:
virtual void debugDump() const;
void updateShapeType(ShapeType type);
virtual ShapeType getShapeType() const { return _shapeType; }
// TODO: Move these to subclasses, or other appropriate abstraction
// getters/setters applicable to models and particles
@ -121,7 +119,7 @@ public:
void setTextures(const QString& textures) { _textures = textures; }
static void cleanupLoadedAnimations();
protected:
bool isAnimatingSomething() const;
@ -144,6 +142,7 @@ protected:
static Animation* getAnimation(const QString& url);
static QMap<QString, AnimationPointer> _loadedAnimations;
static AnimationCache _animationCache;
};
#endif // hifi_ModelEntityItem_h

View file

@ -284,7 +284,6 @@ void PhysicsEngine::stepSimulation() {
assert(_avatarData);
lock();
// NOTE: the grand order of operations is:
// (1) relay incoming changes
// (2) step simulation

View file

@ -49,8 +49,6 @@ typedef std::map<ContactKey, ContactInfo> ContactMap;
typedef std::pair<ContactKey, ContactInfo> ContactMapElement;
class PhysicsEngine : public EntitySimulation {
Q_OBJECT
public:
// TODO: find a good way to make this a non-static method
static uint32_t getNumSubsteps();

View file

@ -12,7 +12,6 @@
#ifndef hifi_ShapeInfo_h
#define hifi_ShapeInfo_h
#include <QObject>
#include <QVector>
#include <QString>
#include <QUrl>
@ -36,8 +35,7 @@ enum ShapeType {
SHAPE_TYPE_CYLINDER_Z
};
class ShapeInfo : QObject {
Q_OBJECT
class ShapeInfo {
public:
void clear();