summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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
@@ -26,4 +26,5 @@
#include <qstring.h>
+#include "destination.h"
class Package
@@ -42,4 +43,5 @@ public:
void setPackageStoredLocally( bool local ) { packageStoredLocally = local; }
void setInstalledToRoot( bool root ) { installedToRoot = root; }
+ void setInstalledTo( Destination *d ) { installedTo = d; }
Package *getLocalPackage() { return localPackage; }
@@ -54,4 +56,5 @@ public:
bool isInstalledToRoot() { return installedToRoot; }
QString getInstalledVersion();
+ Destination *getInstalledTo() { return installedTo; }
QString toString();
@@ -66,9 +69,10 @@ private:
QString description;
QString filename;
- QString installedTo;
bool packageStoredLocally;
bool installedToRoot;
bool installed;
bool differentVersionAvailable;
+
+ Destination *installedTo;
};