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