From f6653cef2c2f4287ad6ad32133b8f5de9d36e79a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enar=20V=C3=A4ikene?= Date: Thu, 21 Jul 2011 07:27:36 +0300 Subject: [PATCH] Compiler error fixes. --- src/apps/PswGen/Generator/generator.cpp | 12 ++++++------ src/apps/PswGen/Generator/generator.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) 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); -- 2.45.0