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

cpp-qt5-client.QObjectWrapper.h.mustache Maven / Gradle / Ivy

There is a newer version: 7.7.0
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