summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/datamgr.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/datamgr.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/datamgr.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/datamgr.h b/noncore/settings/aqpkg/datamgr.h
index 0a7467f..90328ab 100644
--- a/noncore/settings/aqpkg/datamgr.h
+++ b/noncore/settings/aqpkg/datamgr.h
@@ -18,12 +18,13 @@
18#ifndef DATAMGR_H 18#ifndef DATAMGR_H
19#define DATAMGR_H 19#define DATAMGR_H
20 20
21#include <map> 21#include <map>
22using namespace std; 22using namespace std;
23 23
24#include <qobject.h>
24#include <qstring.h> 25#include <qstring.h>
25 26
26#include "server.h" 27#include "server.h"
27#include "destination.h" 28#include "destination.h"
28 29
29 #define LOCAL_SERVER "Installed Pkgs" 30 #define LOCAL_SERVER "Installed Pkgs"
@@ -31,14 +32,15 @@ using namespace std;
31 32
32/** 33/**
33 *@author Andy Qua 34 *@author Andy Qua
34 */ 35 */
35 36
36 37
37class DataManager 38class DataManager : public QObject
38{ 39{
40 Q_OBJECT
39public: 41public:
40 DataManager(); 42 DataManager();
41 ~DataManager(); 43 ~DataManager();
42 44
43 void setActiveServer( const QString &act ) { activeServer = act; } 45 void setActiveServer( const QString &act ) { activeServer = act; }
44 QString &getActiveServer( ) { return activeServer; } 46 QString &getActiveServer( ) { return activeServer; }
@@ -83,9 +85,14 @@ private:
83 85
84 bool httpProxyEnabled; 86 bool httpProxyEnabled;
85 bool ftpProxyEnabled; 87 bool ftpProxyEnabled;
86 88
87 vector<Server> serverList; 89 vector<Server> serverList;
88 vector<Destination> destList; 90 vector<Destination> destList;
91
92signals:
93 void progressSetSteps( int );
94 void progressSetMessage( const QString & );
95 void progressUpdate( int );
89}; 96};
90 97
91#endif 98#endif