From 58037493a67cbc9a5d9ab464e61b20f860a3e58d Mon Sep 17 00:00:00 2001 From: Thiago Rocha Date: Tue, 14 Oct 2014 13:15:11 -0300 Subject: [PATCH] Adicionado metodo getModules em CheckModules. --- src/checkmodules.cpp | 4 ++++ src/checkmodules.h | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/checkmodules.cpp b/src/checkmodules.cpp index fa6326b..e32f0e7 100644 --- a/src/checkmodules.cpp +++ b/src/checkmodules.cpp @@ -26,6 +26,10 @@ CheckModules::CheckModules(const QString &workingPath) } } +QVariantMap CheckModules::getModules() const { + return modules; +} + bool CheckModules::start(){ if (!modules.isEmpty()){ QVariantMap::const_iterator i = modules.constBegin(); diff --git a/src/checkmodules.h b/src/checkmodules.h index f70e739..a54b14c 100644 --- a/src/checkmodules.h +++ b/src/checkmodules.h @@ -11,6 +11,7 @@ public: CheckModules(const QString &workingPath); // QStringList verificaModulos(); bool start(); + QVariantMap getModules() const; private: CCacic oCacic; CacicComm oCacicComm; -- libgit2 0.21.2