summaryrefslogtreecommitdiff
path: root/noncore/net/mailit/emaillistitem.h
authoralwin <alwin>2004-02-22 23:56:05 (UTC)
committer alwin <alwin>2004-02-22 23:56:05 (UTC)
commiteba25a5ebeca30b7124e7fae80685dbd1c9a985d (patch) (unidiff)
treed62dd266e9b57f3eae34612f5d0fc4cf0b625c20 /noncore/net/mailit/emaillistitem.h
parent666a49773d06ac94c19996d763854725c2f7a578 (diff)
downloadopie-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/emaillistitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/emaillistitem.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/noncore/net/mailit/emaillistitem.h b/noncore/net/mailit/emaillistitem.h
deleted file mode 100644
index 129a774..0000000
--- a/noncore/net/mailit/emaillistitem.h
+++ b/dev/null
@@ -1,45 +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 EMAILLISTITEM_H
21#define EMAILLISTITEM_H
22
23#include <qlistview.h>
24#include "emailhandler.h"
25
26class EmailListItem: public QListViewItem
27{
28public:
29 EmailListItem(QListView *parent, Email mailIn, bool inbox);
30 Email* getMail();
31 void setMail(Email newMail);
32 void setItemSelected(bool enable);
33 bool isItemSelected();
34 bool itemSelected();
35
36protected:
37 void paintCell( QPainter *p, const QColorGroup &cg,
38 int column, int width, int alignment );
39private:
40 Email mail;
41 bool selected;
42 QString dateFromULCString( QString ulc );
43};
44
45#endif