Ignore:
Timestamp:
01/07/14 12:57:47 (13 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1
Children:
8a4c7a0
Parents:
1f0325a
Message:

Large update to the new GIT usage for the system manager. It should be almost finished, it still just needs the proper branch detection for source checkouts (and maybe ports checkouts, but I think we always want the master branch for ports by default).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-sysmanager/longProc.h

    r1f0325a r8f95077  
    99#include <QCoreApplication> 
    1010#include <QDebug> 
     11#include <QTimer> 
    1112 
    1213class LongProc : public QObject{ 
     
    1920        //Quick-start functions for specific tasks 
    2021        bool startCMDs(QStringList cmds, QStringList dirs, QStringList info); 
    21          
     22        void stopProc(); 
     23 
    2224        //Information functions 
    2325        bool isRunning(){ return running; } //so you can double check whether it is still running 
     
    2830private: 
    2931        QProcess *process; 
    30         bool running; 
     32        bool running, stopped; 
    3133        QStringList cmdList, infoList, dirList; 
    3234        int currentItem; 
     35        QTimer *timer; 
    3336 
    3437private slots: 
    3538        void parseUpdate(); //New process message from internal worker 
    3639        void procDone(); //internal worker finished 
     40        void procTimeout(); //internal timeout signal 
    3741 
    3842signals: 
Note: See TracChangeset for help on using the changeset viewer.