-rw-r--r-- | noncore/net/mailit/addatt.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/noncore/net/mailit/addatt.h b/noncore/net/mailit/addatt.h deleted file mode 100644 index a365947..0000000 --- a/noncore/net/mailit/addatt.h +++ b/dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2001 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qt Palmtop Environment. | ||
5 | ** | ||
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 | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
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. | ||
13 | ** | ||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
15 | ** | ||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
17 | ** not clear to you. | ||
18 | ** | ||
19 | **********************************************************************/ | ||
20 | #ifndef ADDATT_H | ||
21 | #define ADDATT_H | ||
22 | |||
23 | #include <qdialog.h> | ||
24 | #include <qlistview.h> | ||
25 | #include <qpushbutton.h> | ||
26 | #include <qpopupmenu.h> | ||
27 | #include <qstring.h> | ||
28 | #include <qfileinfo.h> | ||
29 | #include <qstringlist.h> | ||
30 | #include <opie/ofiledialog.h> | ||
31 | #include <qpe/applnk.h> | ||
32 | |||
33 | class FileItem : public QListViewItem | ||
34 | { | ||
35 | public: | ||
36 | //FileItem(QListView *parent, QFileInfo fileInfo, QString fileType); | ||
37 | FileItem(QListView*, DocLnk*); | ||
38 | ~FileItem(); | ||
39 | DocLnk* getDocLnk() {return doclnk;} | ||
40 | |||
41 | |||
42 | private: | ||
43 | DocLnk* doclnk; | ||
44 | }; | ||
45 | |||
46 | class AddAtt : public QDialog | ||
47 | { | ||
48 | Q_OBJECT | ||
49 | |||
50 | public: | ||
51 | AddAtt(QWidget *parent = 0, const char *name = 0, WFlags f = 0); | ||
52 | QStringList returnattachedFiles(); | ||
53 | QStringList returnFileTypes(); | ||
54 | void getFiles(); | ||
55 | void clear(); | ||
56 | |||
57 | |||
58 | public slots: | ||
59 | //void fileCategorySelected(int); | ||
60 | void addattachment(); | ||
61 | void removeattachment(); | ||
62 | void reject(); | ||
63 | void accept(); | ||
64 | |||
65 | private: | ||
66 | FileItem* item; | ||
67 | QListView *attView; | ||
68 | QPushButton *attachButton, *removeButton; | ||
69 | QPopupMenu *fileCategories; | ||
70 | bool modified; | ||
71 | //QFileInfo *fi; | ||
72 | |||
73 | OFileDialog* ofs; | ||
74 | }; | ||
75 | |||
76 | #endif | ||