From: Enar Väikene Date: Thu, 21 Jul 2011 04:27:36 +0000 (+0300) Subject: Compiler error fixes. X-Git-Url: https://vaikene.ee/gitweb/overview.html?a=commitdiff_plain;h=f6653cef2c2f4287ad6ad32133b8f5de9d36e79a;p=evaf Compiler error fixes. --- 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) diff --git a/src/apps/PswGen/Generator/generator.h b/src/apps/PswGen/Generator/generator.h index 77513be..3c3096f 100644 --- a/src/apps/PswGen/Generator/generator.h +++ b/src/apps/PswGen/Generator/generator.h @@ -66,15 +66,15 @@ public: /** * Module implementing the iGenerator interface. */ -class Generator : public Plugins::iPlugin +class Module : public Plugins::iPlugin { Q_OBJECT public: - Generator(); + Module(); - virtual ~Generator(); + virtual ~Module(); virtual bool init(const QString & args);