author | andyq <andyq> | 2002-10-16 21:25:55 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-16 21:25:55 (UTC) |
commit | fd6aee0559a2f2f68b14f9913ebbf482c2561572 (patch) (unidiff) | |
tree | b692ed8532d95b712b5b414477c3b96a3f99c5fe /noncore/settings/aqpkg/server.h | |
parent | bf58f7bc221ba10f6681d9a1a5193bd208d9920e (diff) | |
download | opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.zip opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.gz opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.bz2 |
Added active member specify if server is active or not (commented out)
Diffstat (limited to 'noncore/settings/aqpkg/server.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/server.h b/noncore/settings/aqpkg/server.h index 8f8d384..5f83f75 100644 --- a/noncore/settings/aqpkg/server.h +++ b/noncore/settings/aqpkg/server.h | |||
@@ -43,9 +43,11 @@ public: | |||
43 | Package *getPackage( QString &name ); | 43 | Package *getPackage( QString &name ); |
44 | QString toString(); | 44 | QString toString(); |
45 | vector<Package> &getPackageList(); | 45 | vector<Package> &getPackageList(); |
46 | 46 | bool isServerActive() { return active; } | |
47 | |||
47 | void setServerName( const QString &name ) { serverName = name; } | 48 | void setServerName( const QString &name ) { serverName = name; } |
48 | void setServerUrl( const QString &url ) { serverUrl = url; } | 49 | void setServerUrl( const QString &url ) { serverUrl = url; } |
50 | void setActive( bool val ) { active = val; } | ||
49 | QString &getServerName() { return serverName; } | 51 | QString &getServerName() { return serverName; } |
50 | QString &getServerUrl() { return serverUrl; } | 52 | QString &getServerUrl() { return serverUrl; } |
51 | 53 | ||
@@ -55,6 +57,7 @@ private: | |||
55 | QString serverName; | 57 | QString serverName; |
56 | QString serverUrl; | 58 | QString serverUrl; |
57 | QString packageFile; | 59 | QString packageFile; |
60 | bool active; | ||
58 | 61 | ||
59 | 62 | ||
60 | vector<Package> packageList; | 63 | vector<Package> packageList; |