author | andyq <andyq> | 2002-11-21 18:57:01 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-11-21 18:57:01 (UTC) |
commit | e6cb9bb71d4849263ada2f5549c85740c96b065a (patch) (unidiff) | |
tree | d44c457f77722342ccb5a0c7b99dcfcae6f17a94 /noncore/settings/aqpkg/package.cpp | |
parent | 1efe11a03d5cd3c0b81c5fee7d0e88dca2e06da8 (diff) | |
download | opie-e6cb9bb71d4849263ada2f5549c85740c96b065a.zip opie-e6cb9bb71d4849263ada2f5549c85740c96b065a.tar.gz opie-e6cb9bb71d4849263ada2f5549c85740c96b065a.tar.bz2 |
Package sections default to N/A unless they are set (description, etc), changed LinkToRoot to Link To Root, and couple of other small fixes
Diffstat (limited to 'noncore/settings/aqpkg/package.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/package.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/package.cpp b/noncore/settings/aqpkg/package.cpp index 526de5e..db3e927 100644 --- a/noncore/settings/aqpkg/package.cpp +++ b/noncore/settings/aqpkg/package.cpp | |||
@@ -12,35 +12,47 @@ | |||
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include "package.h" | 18 | #include "package.h" |
19 | #include "global.h" | 19 | #include "global.h" |
20 | 20 | ||
21 | Package::Package( QString &name ) | 21 | Package::Package( QString &name ) |
22 | { | 22 | { |
23 | packageName = name; | 23 | packageName = name; |
24 | |||
25 | version = "N/A"; | ||
26 | description = "N/A"; | ||
27 | packageSize = "N/A"; | ||
28 | section = "N/A"; | ||
29 | |||
24 | localPackage = 0; | 30 | localPackage = 0; |
25 | installed = false; | 31 | installed = false; |
26 | packageStoredLocally = false; | 32 | packageStoredLocally = false; |
27 | installedToRoot = false; | 33 | installedToRoot = false; |
28 | installed = false; | 34 | installed = false; |
29 | installedTo = 0; | 35 | installedTo = 0; |
30 | } | 36 | } |
31 | 37 | ||
32 | Package::Package( char *name ) | 38 | Package::Package( char *name ) |
33 | { | 39 | { |
34 | packageName = name; | 40 | packageName = name; |
41 | |||
42 | version = "N/A"; | ||
43 | description = "N/A"; | ||
44 | packageSize = "N/A"; | ||
45 | section = "N/A"; | ||
46 | |||
35 | localPackage = 0; | 47 | localPackage = 0; |
36 | installed = false; | 48 | installed = false; |
37 | packageStoredLocally = false; | 49 | packageStoredLocally = false; |
38 | installedToRoot = false; | 50 | installedToRoot = false; |
39 | installed = false; | 51 | installed = false; |
40 | installedTo = 0; | 52 | installedTo = 0; |
41 | } | 53 | } |
42 | 54 | ||
43 | Package::~Package() | 55 | Package::~Package() |
44 | { | 56 | { |
45 | } | 57 | } |
46 | 58 | ||