summaryrefslogtreecommitdiff
path: root/noncore
authorandyq <andyq>2002-10-17 22:55:12 (UTC)
committer andyq <andyq>2002-10-17 22:55:12 (UTC)
commit2f4ea594b00c0f5e220a773d0d34493546d860d3 (patch) (unidiff)
treed15c434d94e99c89661bb3b5e33a61bca9da78fd /noncore
parente38ea35a5bbfae58a9d4cb66cfdf557d606921cd (diff)
downloadopie-2f4ea594b00c0f5e220a773d0d34493546d860d3.zip
opie-2f4ea594b00c0f5e220a773d0d34493546d860d3.tar.gz
opie-2f4ea594b00c0f5e220a773d0d34493546d860d3.tar.bz2
Added destination a package was installed to methods and members
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/package.h6
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
@@ -25,6 +25,7 @@
25 */ 25 */
26 26
27#include <qstring.h> 27#include <qstring.h>
28#include "destination.h"
28 29
29class Package 30class Package
30{ 31{
@@ -41,6 +42,7 @@ public:
41 void setFilename( QString &f ); 42 void setFilename( QString &f );
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; }
46 QString getPackageName() { return packageName; } 48 QString getPackageName() { return packageName; }
@@ -53,6 +55,7 @@ public:
53 bool isPackageStoredLocally(){ return packageStoredLocally; } 55 bool isPackageStoredLocally(){ return packageStoredLocally; }
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();
58 61
@@ -65,11 +68,12 @@ private:
65 QString status; 68 QString status;
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
75#endif 79#endif