#ifndef COMPONENTCOMPLETEDCOMMAND_H #define COMPONENTCOMPLETEDCOMMAND_H #include #include namespace QmlDesigner { class ComponentCompletedCommand { friend QDataStream &operator>>(QDataStream &in, ComponentCompletedCommand &command); public: ComponentCompletedCommand(); ComponentCompletedCommand(const QVector &container); QVector instances() const; private: QVector m_instanceVector; }; QDataStream &operator<<(QDataStream &out, const ComponentCompletedCommand &command); QDataStream &operator>>(QDataStream &in, ComponentCompletedCommand &command); } // namespace QmlDesigner Q_DECLARE_METATYPE(QmlDesigner::ComponentCompletedCommand); #endif // COMPONENTCOMPLETEDCOMMAND_H