-rw-r--r-- | noncore/settings/aqpkg/destination.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/destination.h b/noncore/settings/aqpkg/destination.h index 63999d6..646fae9 100644 --- a/noncore/settings/aqpkg/destination.h +++ b/noncore/settings/aqpkg/destination.h | |||
@@ -25,17 +25,21 @@ public: | |||
25 | Destination() {} | 25 | Destination() {} |
26 | Destination( const char *name, const char *path ); | 26 | Destination( const char *name, const char *path ); |
27 | ~Destination(); | 27 | ~Destination(); |
28 | 28 | ||
29 | void setDestinationName( const QString &name ) { destName = name; } | 29 | void setDestinationName( const QString &name ) { destName = name; } |
30 | void setDestinationPath( const QString &path ) { destPath = path; } | 30 | void setDestinationPath( const QString &path ) { destPath = path; } |
31 | void linkToRoot( bool val ) { linkToRootDir = val; } | ||
32 | |||
33 | bool linkToRoot() { return linkToRootDir; } | ||
31 | QString &getDestinationName() { return destName; } | 34 | QString &getDestinationName() { return destName; } |
32 | QString &getDestinationPath() { return destPath; } | 35 | QString &getDestinationPath() { return destPath; } |
33 | 36 | ||
34 | protected: | 37 | protected: |
35 | 38 | ||
36 | private: | 39 | private: |
37 | QString destName; | 40 | QString destName; |
38 | QString destPath; | 41 | QString destPath; |
42 | bool linkToRootDir; | ||
39 | }; | 43 | }; |
40 | 44 | ||
41 | #endif | 45 | #endif |