X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FGenerator%2Fgenerator.cpp;h=01f1a93121864a65ef7fc78e4a1c80993527dc50;hb=f6653cef2c2f4287ad6ad32133b8f5de9d36e79a;hp=dddc845a08ea798d090167925d2928655015b4da;hpb=c4e5e13197fbe29cd4e4ff999b0dc60bbf97223f;p=evaf
diff --git a/src/apps/PswGen/Generator/generator.cpp b/src/apps/PswGen/Generator/generator.cpp
index dddc845..01f1a93 100644
--- a/src/apps/PswGen/Generator/generator.cpp
+++ b/src/apps/PswGen/Generator/generator.cpp
@@ -26,12 +26,12 @@
#include
using namespace eVaf;
-using namespace evaf::PswGen;
+using namespace eVaf::PswGen;
using namespace eVaf::PswGen::Generator;
//-------------------------------------------------------------------
-Generator::Generator()
+Module::Module()
: Plugins::iPlugin()
, mReady(false)
{
@@ -42,14 +42,14 @@ Generator::Generator()
EVAF_INFO("%s created", qPrintable(objectName()));
}
-Generator::~Generator()
+Module::~Module()
{
delete mGenerator;
EVAF_INFO("%s destroyed", qPrintable(objectName()));
}
-bool Generator::init(const QString & args)
+bool Module::init(const QString & args)
{
Q_UNUSED(args);
@@ -63,7 +63,7 @@ bool Generator::init(const QString & args)
return true;
}
-void Generator::done()
+void Module::done()
{
mReady = false;
@@ -120,4 +120,4 @@ QString GeneratorImpl::generatePassword(char const * const name, char const * co
//-------------------------------------------------------------------
VER_EXPORT_VERSION_INFO()
-Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, Generator)
+Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, Module)