Diffstat (limited to 'noncore/settings/aqpkg/destination.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/destination.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/destination.h b/noncore/settings/aqpkg/destination.h new file mode 100644 index 0000000..63999d6 --- a/dev/null +++ b/noncore/settings/aqpkg/destination.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /*************************************************************************** | ||
2 | destination.h - description | ||
3 | ------------------- | ||
4 | begin : Mon Aug 26 2002 | ||
5 | copyright : (C) 2002 by Andy Qua | ||
6 | email : andy.qua@blueyonder.co.uk | ||
7 | ***************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
10 | * * | ||
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 * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | ||
15 | * * | ||
16 | ***************************************************************************/ | ||
17 | #ifndef DESTINATION_H | ||
18 | #define DESTINATION_H | ||
19 | |||
20 | #include <qstring.h> | ||
21 | |||
22 | class Destination | ||
23 | { | ||
24 | public: | ||
25 | Destination() {} | ||
26 | Destination( const char *name, const char *path ); | ||
27 | ~Destination(); | ||
28 | |||
29 | void setDestinationName( const QString &name ) { destName = name; } | ||
30 | void setDestinationPath( const QString &path ) { destPath = path; } | ||
31 | QString &getDestinationName() { return destName; } | ||
32 | QString &getDestinationPath() { return destPath; } | ||
33 | |||
34 | protected: | ||
35 | |||
36 | private: | ||
37 | QString destName; | ||
38 | QString destPath; | ||
39 | }; | ||
40 | |||
41 | #endif | ||