summaryrefslogtreecommitdiff
authorandyq <andyq>2002-10-16 21:25:55 (UTC)
committer andyq <andyq>2002-10-16 21:25:55 (UTC)
commitfd6aee0559a2f2f68b14f9913ebbf482c2561572 (patch) (side-by-side diff)
treeb692ed8532d95b712b5b414477c3b96a3f99c5fe
parentbf58f7bc221ba10f6681d9a1a5193bd208d9920e (diff)
downloadopie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.zip
opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.gz
opie-fd6aee0559a2f2f68b14f9913ebbf482c2561572.tar.bz2
Added active member specify if server is active or not (commented out)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/server.h5
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
@@ -44,7 +44,9 @@ public:
QString toString();
vector<Package> &getPackageList();
-
+ bool isServerActive() { return active; }
+
void setServerName( const QString &name ) { serverName = name; }
void setServerUrl( const QString &url ) { serverUrl = url; }
+ void setActive( bool val ) { active = val; }
QString &getServerName() { return serverName; }
QString &getServerUrl() { return serverUrl; }
@@ -56,4 +58,5 @@ private:
QString serverUrl;
QString packageFile;
+ bool active;