-rw-r--r-- | library/lnkproperties.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/lnkproperties.h b/library/lnkproperties.h index 38da5b2..a88fc10 100644 --- a/library/lnkproperties.h +++ b/library/lnkproperties.h | |||
@@ -1,73 +1,72 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | 21 | ||
22 | // | 22 | // |
23 | // DO NOT ATTEMPT TO USE THIS CLASS | 23 | // DO NOT ATTEMPT TO USE THIS CLASS |
24 | // | 24 | // |
25 | 25 | ||
26 | 26 | ||
27 | 27 | ||
28 | #ifndef LNKPROPERTIES_H | 28 | #ifndef LNKPROPERTIES_H |
29 | #define LNKPROPERTIES_H | 29 | #define LNKPROPERTIES_H |
30 | #include <qstringlist.h> | 30 | #include <qstringlist.h> |
31 | #include <qdialog.h> | 31 | #include <qdialog.h> |
32 | 32 | ||
33 | class AppLnk; | 33 | class AppLnk; |
34 | class QListViewItem; | 34 | class QListViewItem; |
35 | class DocLnk; | 35 | class DocLnk; |
36 | 36 | ||
37 | class LnkPropertiesBase; | 37 | class LnkPropertiesBase; |
38 | 38 | ||
39 | class LnkProperties : public QDialog | 39 | class LnkProperties : public QDialog |
40 | { | 40 | { |
41 | Q_OBJECT | 41 | Q_OBJECT |
42 | 42 | ||
43 | public: | 43 | public: |
44 | // WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT | 44 | // WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT |
45 | // have this class. | 45 | // have this class. |
46 | #ifdef QTOPIA_INTERNAL_FSLP | 46 | #ifdef QTOPIA_INTERNAL_FSLP |
47 | LnkProperties( AppLnk* lnk, QWidget* parent = 0 ); | 47 | LnkProperties( AppLnk* lnk, QWidget* parent = 0 ); |
48 | ~LnkProperties(); | 48 | ~LnkProperties(); |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | void done(int); | 51 | void done(int); |
52 | private slots: | 52 | private slots: |
53 | void beamLnk(); | 53 | void beamLnk(); |
54 | void unlinkLnk(); | 54 | void unlinkLnk(); |
55 | void unlinkIcon(); | ||
56 | void duplicateLnk(); | 55 | void duplicateLnk(); |
57 | 56 | ||
58 | signals: | 57 | signals: |
59 | void select(const AppLnk *); | 58 | void select(const AppLnk *); |
60 | 59 | ||
61 | private: | 60 | private: |
62 | void setupLocations(); | 61 | void setupLocations(); |
63 | bool moveLnk(); | 62 | bool moveLnk(); |
64 | bool copyFile( DocLnk &newdoc ); | 63 | bool copyFile( DocLnk &newdoc ); |
65 | 64 | ||
66 | AppLnk* lnk; | 65 | AppLnk* lnk; |
67 | int fileSize; | 66 | int fileSize; |
68 | int currentLocation; | 67 | int currentLocation; |
69 | QStringList locations; | 68 | QStringList locations; |
70 | LnkPropertiesBase *d; | 69 | LnkPropertiesBase *d; |
71 | }; | 70 | }; |
72 | 71 | ||
73 | #endif // LNKPROPERTIES_H | 72 | #endif // LNKPROPERTIES_H |