summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/datamgr.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/datamgr.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/datamgr.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/datamgr.h b/noncore/settings/aqpkg/datamgr.h
index 41833df..0a7467f 100644
--- a/noncore/settings/aqpkg/datamgr.h
+++ b/noncore/settings/aqpkg/datamgr.h
@@ -58,6 +58,21 @@ public:
58 static QString getAvailableCategories() { return availableCategories; } 58 static QString getAvailableCategories() { return availableCategories; }
59 static void setAvailableCategories( QString section ); 59 static void setAvailableCategories( QString section );
60 60
61 QString getHttpProxy() { return httpProxy; }
62 QString getFtpProxy() { return ftpProxy; }
63 QString getProxyUsername() { return proxyUsername; }
64 QString getProxyPassword() { return proxyPassword; }
65
66 bool getHttpProxyEnabled() { return httpProxyEnabled; }
67 bool getFtpProxyEnabled() { return ftpProxyEnabled; }
68
69 void setHttpProxy( QString proxy ) { httpProxy = proxy; }
70 void setFtpProxy( QString proxy ) { ftpProxy = proxy; }
71 void setProxyUsername( QString name ) { proxyUsername = name; }
72 void setProxyPassword( QString pword ) { proxyPassword = pword; }
73
74 void setHttpProxyEnabled( bool val ) { httpProxyEnabled = val; }
75 void setFtpProxyEnabled( bool val ) { ftpProxyEnabled = val; }
61private: 76private:
62 static QString availableCategories; 77 static QString availableCategories;
63 QString activeServer; 78 QString activeServer;
@@ -66,6 +81,9 @@ private:
66 QString proxyUsername; 81 QString proxyUsername;
67 QString proxyPassword; 82 QString proxyPassword;
68 83
84 bool httpProxyEnabled;
85 bool ftpProxyEnabled;
86
69 vector<Server> serverList; 87 vector<Server> serverList;
70 vector<Destination> destList; 88 vector<Destination> destList;
71}; 89};