From 2f4ea594b00c0f5e220a773d0d34493546d860d3 Mon Sep 17 00:00:00 2001 From: andyq Date: Thu, 17 Oct 2002 22:55:12 +0000 Subject: Added destination a package was installed to methods and members --- (limited to 'noncore/settings') 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 @@ */ #include +#include "destination.h" class Package { @@ -41,6 +42,7 @@ public: void setFilename( QString &f ); void setPackageStoredLocally( bool local ) { packageStoredLocally = local; } void setInstalledToRoot( bool root ) { installedToRoot = root; } + void setInstalledTo( Destination *d ) { installedTo = d; } Package *getLocalPackage() { return localPackage; } QString getPackageName() { return packageName; } @@ -53,6 +55,7 @@ public: bool isPackageStoredLocally() { return packageStoredLocally; } bool isInstalledToRoot() { return installedToRoot; } QString getInstalledVersion(); + Destination *getInstalledTo() { return installedTo; } QString toString(); @@ -65,11 +68,12 @@ private: QString status; QString description; QString filename; - QString installedTo; bool packageStoredLocally; bool installedToRoot; bool installed; bool differentVersionAvailable; + + Destination *installedTo; }; #endif -- cgit v0.9.0.2