summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/ablabel.h
Unidiff
Diffstat (limited to 'core/pim/addressbook/ablabel.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/ablabel.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/core/pim/addressbook/ablabel.h b/core/pim/addressbook/ablabel.h
new file mode 100644
index 0000000..cfbd999
--- a/dev/null
+++ b/core/pim/addressbook/ablabel.h
@@ -0,0 +1,50 @@
1/**********************************************************************
2** Copyright (C) 2000 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 ABLABEL_H
21#define ABLABEL_H
22
23#include <qpe/contact.h>
24#include <qtextview.h>
25
26class AbLabel : public QTextView
27{
28 Q_OBJECT
29
30public:
31 AbLabel( QWidget *parent, const char *name = 0 );
32 ~AbLabel();
33
34public slots:
35 void init( const Contact &entry );
36 void sync();
37
38signals:
39 void okPressed();
40
41protected:
42 void keyPressEvent( QKeyEvent * );
43
44private:
45 Contact ent;
46
47};
48
49#endif // ABLABEL_H
50