author | andyq <andyq> | 2002-10-16 21:25:55 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-16 21:25:55 (UTC) |
commit | fd6aee0559a2f2f68b14f9913ebbf482c2561572 (patch) (side-by-side diff) | |
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) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/server.h | 3 |
1 files changed, 3 insertions, 0 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: Package *getPackage( QString &name ); 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; } @@ -55,6 +57,7 @@ private: QString serverName; QString serverUrl; QString packageFile; + bool active; vector<Package> packageList; |