00001 #ifndef QIC_PROPERTY_REF_INJECTOR_H_ 00002 #define QIC_PROPERTY_REF_INJECTOR_H_ 00003 00004 #include <QObject> 00005 #include <QString> 00006 #include <QVariant> 00007 00008 #include "ReferenceInjector.h" 00009 00010 namespace qic 00011 { 00012 00019 class PropertyRefInjector : public QObject, public ReferenceInjector 00020 { 00021 Q_OBJECT 00022 Q_INTERFACES(qic::ReferenceInjector) 00023 00024 public: 00025 virtual ~PropertyRefInjector () {}; 00026 00027 virtual QVariant injectReference (QVariant & prop, ReferenceResolver * resolver, QHash <QString, QObject *> & injector_map); 00028 00029 } 00030 ; // class PropertyRefInjector 00031 00032 } 00033 ; // namespace qic 00034 00035 #endif