Diffstat (limited to 'noncore/settings/aqpkg/datamgr.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/datamgr.h | 18 |
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 | |||
@@ -55,19 +55,37 @@ public: | |||
55 | 55 | ||
56 | void writeOutIpkgConf(); | 56 | void writeOutIpkgConf(); |
57 | 57 | ||
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; } | ||
61 | private: | 76 | private: |
62 | static QString availableCategories; | 77 | static QString availableCategories; |
63 | QString activeServer; | 78 | QString activeServer; |
64 | QString httpProxy; | 79 | QString httpProxy; |
65 | QString ftpProxy; | 80 | QString ftpProxy; |
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 | }; |
72 | 90 | ||
73 | #endif | 91 | #endif |