X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=www%2Fpswgen04.html;h=63a9df2bd7f5df650f249a70ad9882933d008dbd;hb=7af576396a2e56c8fce7299a41a40197fb08c2d5;hp=df82cb0b946a970ac9d1335fee64c395576e05c1;hpb=368818c22af812ac35f5ff69423522dbd54d37ed;p=evaf diff --git a/www/pswgen04.html b/www/pswgen04.html index df82cb0..63a9df2 100644 --- a/www/pswgen04.html +++ b/www/pswgen04.html @@ -13,6 +13,8 @@ +

Next: 05 - Building Generator Module, Previous: 03 - Generator Module

+

eVaf Tutorial

04 - Generator Module

@@ -93,6 +95,11 @@ VER_EXPORT_VERSION_INFO() +

To make the Module class a proper Qt plugin, we use the Q_EXPORT_PLUGIN2 macro. The name of the module is already + defined in the version.h header file as VER_MODULE_NAME_STR. + +

Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, eVaf::PswGen::Generator::Module)
+

We make our life easier with several using namespace keywords:

using namespace eVaf;