1 #ifndef _Q_TOBJECT_HANDLE_HH_
2 #define _Q_TOBJECT_HANDLE_HH_
14 template<
class T>
class QTObjectHandle :
public Diana::GlobalHandle<Diana::QTObject<T> >
21 void Set(
const T& obj)
23 Diana::QTObject<T> qobj(obj);
24 Diana::GlobalHandle<Diana::QTObject<T> >
::Set(qobj);
28 return Diana::GlobalHandle<Diana::QTObject<T> >
::Get().fObject;
template class to handle diana global QObject with QGlobalDataManager
global handle for generic TObject
QTObjectHandle(const std::string &name)
QObject with TObject member.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...