#ifndef INSTALLCACIC_H #define INSTALLCACIC_H #include #include #include #include #include #include #include "iostream" #include "QLogger.h" class InstallCacic : public QObject { Q_OBJECT public: explicit InstallCacic(QObject *parent = 0); ~InstallCacic(); QMap getArgumentos(); void setArgumentos(QMap value); QMap validaParametros(QStringList argv, int argc, bool *ok); bool startProcess(QString pathprogram, bool wait, QStringList arguments); void registro(); private: void uninstall(); QMap argumentos; CacicComm *oCacicComm; CACIC_Computer oCacicComputer; CCacic oCacic; QLogger::QLoggerManager *logManager; QString applicationDirPath; signals: void finished(); public slots: void run(QStringList argv, int argc); }; #endif // INSTALLCACIC_H