-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 | |||
@@ -7,35 +7,39 @@ | |||
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #ifndef DESTINATION_H | 17 | #ifndef DESTINATION_H |
18 | #define DESTINATION_H | 18 | #define DESTINATION_H |
19 | 19 | ||
20 | #include <qstring.h> | 20 | #include <qstring.h> |
21 | 21 | ||
22 | class Destination | 22 | class Destination |
23 | { | 23 | { |
24 | public: | 24 | 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 |