author | andyq <andyq> | 2002-10-17 22:36:06 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-17 22:36:06 (UTC) |
commit | 8924b635fcd4c38eee106465392bed85ecf0f3c9 (patch) (unidiff) | |
tree | 7e68476cc7838fcecf9cf8efb8794af6afd3da36 | |
parent | 667e17b43b6de0bfce7ab83cb132a0f454a428f0 (diff) | |
download | opie-8924b635fcd4c38eee106465392bed85ecf0f3c9.zip opie-8924b635fcd4c38eee106465392bed85ecf0f3c9.tar.gz opie-8924b635fcd4c38eee106465392bed85ecf0f3c9.tar.bz2 |
Added linkToRoot methods and members as part of install/upgrade fix
-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 | |||
@@ -1,41 +1,45 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | destination.h - description | 2 | destination.h - description |
3 | ------------------- | 3 | ------------------- |
4 | begin : Mon Aug 26 2002 | 4 | begin : Mon Aug 26 2002 |
5 | copyright : (C) 2002 by Andy Qua | 5 | copyright : (C) 2002 by Andy Qua |
6 | email : andy.qua@blueyonder.co.uk | 6 | email : andy.qua@blueyonder.co.uk |
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 |