Commit 58037493a67cbc9a5d9ab464e61b20f860a3e58d

Authored by Thiago Rocha
1 parent c530c260
Exists in master

Adicionado metodo getModules em CheckModules.

Showing 2 changed files with 5 additions and 0 deletions   Show diff stats
src/checkmodules.cpp
@@ -26,6 +26,10 @@ CheckModules::CheckModules(const QString &workingPath) @@ -26,6 +26,10 @@ CheckModules::CheckModules(const QString &workingPath)
26 } 26 }
27 } 27 }
28 28
  29 +QVariantMap CheckModules::getModules() const {
  30 + return modules;
  31 +}
  32 +
29 bool CheckModules::start(){ 33 bool CheckModules::start(){
30 if (!modules.isEmpty()){ 34 if (!modules.isEmpty()){
31 QVariantMap::const_iterator i = modules.constBegin(); 35 QVariantMap::const_iterator i = modules.constBegin();
src/checkmodules.h
@@ -11,6 +11,7 @@ public: @@ -11,6 +11,7 @@ public:
11 CheckModules(const QString &workingPath); 11 CheckModules(const QString &workingPath);
12 // QStringList verificaModulos(); 12 // QStringList verificaModulos();
13 bool start(); 13 bool start();
  14 + QVariantMap getModules() const;
14 private: 15 private:
15 CCacic oCacic; 16 CCacic oCacic;
16 CacicComm oCacicComm; 17 CacicComm oCacicComm;