summaryrefslogtreecommitdiff
path: root/library/lnkproperties.h
authorzecke <zecke>2002-09-10 12:09:49 (UTC)
committer zecke <zecke>2002-09-10 12:09:49 (UTC)
commit6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4 (patch) (unidiff)
tree6ebc93c6432f4ed9d00ef1448b6a047ef522a79a /library/lnkproperties.h
parentd10cddb3c9ce75bc90b14add14bc133737fe35aa (diff)
downloadopie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.zip
opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.tar.gz
opie-6b77a1cdb9536b1c135eb86d53a6b2c22c19b0a4.tar.bz2
Qtopia1-6 merge
still to test bic changes to be resolved more changes to be made?
Diffstat (limited to 'library/lnkproperties.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/lnkproperties.h5
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
33class AppLnk; 33class AppLnk;
34class QListViewItem; 34class QListViewItem;
35class DocLnk; 35class DocLnk;
36 36
37class LnkPropertiesBase; 37class LnkPropertiesBase;
38 38
39class LnkProperties : public QDialog 39class LnkProperties : public QDialog
40{ 40{
41 Q_OBJECT 41 Q_OBJECT
42 42
43public: 43public:
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);
52private slots: 52private slots:
53 void beamLnk(); 53 void beamLnk();
54 void unlinkLnk(); 54 void unlinkLnk();
55 void unlinkIcon();
56 void duplicateLnk(); 55 void duplicateLnk();
57 56
58signals: 57signals:
59 void select(const AppLnk *); 58 void select(const AppLnk *);
60 59
61private: 60private:
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