All Downloads are FREE. Search and download functionalities are using the official Maven repository.

qt5cpp.QObjectWrapper.h.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
{{>licenseInfo}}
#ifndef {{prefix}}_QOBJECT_WRAPPER_H
#define {{prefix}}_QOBJECT_WRAPPER_H

#include 

{{#cppNamespaceDeclarations}}
namespace {{this}} {
{{/cppNamespaceDeclarations}}

    template 
    class {{prefix}}QObjectWrapper : public QObject {
        public:
            {{prefix}}QObjectWrapper(ObjectPtrT ptr){
                data = ptr;
            }
            ~{{prefix}}QObjectWrapper(){
                delete data;
            }
        private :
            ObjectPtrT data;
    };

{{#cppNamespaceDeclarations}}
}
{{/cppNamespaceDeclarations}}

#endif // {{prefix}}_QOBJECT_WRAPPER_H




© 2015 - 2024 Weber Informatics LLC | Privacy Policy