void setRenderTarget(QOpenGLFramebufferObject *fbo);
QOpenGLFramebufferObject *renderTarget() const;
-signals:
- void frameSwapped();
-
Q_SIGNALS:
+ void frameSwapped();
void sceneGraphInitialized();
protected:
QT_END_NAMESPACE
-Q_DECLARE_METATYPE(QSGCanvas *);
+Q_DECLARE_METATYPE(QSGCanvas *)
QT_END_HEADER
QSGTransform(QSGTransformPrivate &dd, QObject *parent);
private:
- Q_DECLARE_PRIVATE(QSGTransform);
+ Q_DECLARE_PRIVATE(QSGTransform)
};
class QDeclarativeV8Function;
ItemClipsChildrenToShape = 0x01,
ItemAcceptsInputMethod = 0x02,
ItemIsFocusScope = 0x04,
- ItemHasContents = 0x08,
+ ItemHasContents = 0x08
// Remember to increment the size of QSGItemPrivate::flags
};
Q_DECLARE_FLAGS(Flags, Flag)
ItemParentHasChanged, // value.item
ItemOpacityHasChanged, // value.realValue
ItemActiveFocusHasChanged, // value.boolValue
- ItemRotationHasChanged, // value.realValue
+ ItemRotationHasChanged // value.realValue
};
union ItemChangeData {
virtual QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *);
private:
- Q_DISABLE_COPY(QSGPaintedItem);
- Q_DECLARE_PRIVATE(QSGPaintedItem);
+ Q_DISABLE_COPY(QSGPaintedItem)
+ Q_DECLARE_PRIVATE(QSGPaintedItem)
};
QT_END_NAMESPACE
TypeRegistration = 0,
InterfaceRegistration = 1,
AutoParentRegistration = 2,
- ModuleApiRegistration = 3,
+ ModuleApiRegistration = 3
};
int Q_DECLARATIVE_EXPORT qmlregister(RegistrationType, void *);
| DirtyClipList
| DirtyNodeAdded
| DirtyOpacity
- | DirtyForceUpdate,
+ | DirtyForceUpdate
};
Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag)
void *m_reserved;
};
-Q_DECLARE_OPERATORS_FOR_FLAGS(QSGNode::DirtyFlags);
-Q_DECLARE_OPERATORS_FOR_FLAGS(QSGNode::Flags);
+Q_DECLARE_OPERATORS_FOR_FLAGS(QSGNode::DirtyFlags)
+Q_DECLARE_OPERATORS_FOR_FLAGS(QSGNode::Flags)
class Q_DECLARATIVE_EXPORT QSGBasicGeometryNode : public QSGNode
{