author | alwin <alwin> | 2004-02-22 23:56:05 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-22 23:56:05 (UTC) |
commit | eba25a5ebeca30b7124e7fae80685dbd1c9a985d (patch) (unidiff) | |
tree | d62dd266e9b57f3eae34612f5d0fc4cf0b625c20 /noncore/net/mailit/maillist.h | |
parent | 666a49773d06ac94c19996d763854725c2f7a578 (diff) | |
download | opie-eba25a5ebeca30b7124e7fae80685dbd1c9a985d.zip opie-eba25a5ebeca30b7124e7fae80685dbd1c9a985d.tar.gz opie-eba25a5ebeca30b7124e7fae80685dbd1c9a985d.tar.bz2 |
moved mailit into unsupported area 'cause replaced by opiemail3
Diffstat (limited to 'noncore/net/mailit/maillist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mailit/maillist.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/noncore/net/mailit/maillist.h b/noncore/net/mailit/maillist.h deleted file mode 100644 index ec996df..0000000 --- a/noncore/net/mailit/maillist.h +++ b/dev/null | |||
@@ -1,50 +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 MAILLIST_H | ||
21 | #define MAILLIST_H | ||
22 | |||
23 | #include <qobject.h> | ||
24 | #include <qlist.h> | ||
25 | |||
26 | struct dList{ | ||
27 | int serverId; | ||
28 | uint size; | ||
29 | }; | ||
30 | |||
31 | class MailList : public QObject | ||
32 | { | ||
33 | Q_OBJECT | ||
34 | |||
35 | public: | ||
36 | void clear(); | ||
37 | int count(); | ||
38 | int* first(); | ||
39 | int* next(); | ||
40 | void sizeInsert(int serverId, uint size); | ||
41 | void moveFront(int serverId, uint size); | ||
42 | bool remove(int serverId, uint size); | ||
43 | void insert(int pos, int serverId, uint size); | ||
44 | |||
45 | private: | ||
46 | QList<dList> sortedList; | ||
47 | uint currentPos; | ||
48 | }; | ||
49 | |||
50 | #endif | ||