-rw-r--r-- | noncore/settings/aqpkg/package.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/package.h b/noncore/settings/aqpkg/package.h index d885ab6..8ba5a6a 100644 --- a/noncore/settings/aqpkg/package.h +++ b/noncore/settings/aqpkg/package.h | |||
@@ -26,4 +26,5 @@ | |||
26 | 26 | ||
27 | #include <qstring.h> | 27 | #include <qstring.h> |
28 | #include "destination.h" | ||
28 | 29 | ||
29 | class Package | 30 | class Package |
@@ -42,4 +43,5 @@ public: | |||
42 | void setPackageStoredLocally( bool local ){ packageStoredLocally = local; } | 43 | void setPackageStoredLocally( bool local ){ packageStoredLocally = local; } |
43 | void setInstalledToRoot( bool root ) { installedToRoot = root; } | 44 | void setInstalledToRoot( bool root ) { installedToRoot = root; } |
45 | void setInstalledTo( Destination *d ) { installedTo = d; } | ||
44 | 46 | ||
45 | Package *getLocalPackage() { return localPackage; } | 47 | Package *getLocalPackage() { return localPackage; } |
@@ -54,4 +56,5 @@ public: | |||
54 | bool isInstalledToRoot() { return installedToRoot; } | 56 | bool isInstalledToRoot() { return installedToRoot; } |
55 | QString getInstalledVersion(); | 57 | QString getInstalledVersion(); |
58 | Destination *getInstalledTo() { return installedTo; } | ||
56 | 59 | ||
57 | QString toString(); | 60 | QString toString(); |
@@ -66,9 +69,10 @@ private: | |||
66 | QString description; | 69 | QString description; |
67 | QString filename; | 70 | QString filename; |
68 | QString installedTo; | ||
69 | bool packageStoredLocally; | 71 | bool packageStoredLocally; |
70 | bool installedToRoot; | 72 | bool installedToRoot; |
71 | bool installed; | 73 | bool installed; |
72 | bool differentVersionAvailable; | 74 | bool differentVersionAvailable; |
75 | |||
76 | Destination *installedTo; | ||
73 | }; | 77 | }; |
74 | 78 | ||