kmail

vcardviewer.h
1/* This file is part of the KDE project
2 Copyright (C) 2002 Daniel Molkentin <molkentin@kde.org>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18 */
19
20#ifndef VCARDVIEWER_H
21#define VCARDVIEWER_H
22
23#include <kdialogbase.h>
24#include <tdeabc/addressee.h>
25#include <tdeabc/vcardparser.h> // for KABC_VCARD_ENCODING_FIX define
26
27#include <tqvaluelist.h>
28
29class TQString;
30
31namespace KPIM {
32 class AddresseeView;
33}
34
35namespace KMail {
36
37class VCardViewer : public KDialogBase
38{
39 TQ_OBJECT
40
41 public:
42#if defined(KABC_VCARD_ENCODING_FIX)
43 VCardViewer( TQWidget *parent, const TQByteArray &vCard, const char *name );
44#else
45 VCardViewer( TQWidget *parent, const TQString &vCard, const char *name );
46#endif
47 virtual ~VCardViewer();
48
49 protected:
50 virtual void slotUser1();
51 virtual void slotUser2();
52 virtual void slotUser3();
53
54 private:
55 KPIM::AddresseeView *mAddresseeView;
56 TDEABC::Addressee::List mAddresseeList;
57
58 TQValueListIterator<TDEABC::Addressee> itAddresseeList;
59};
60
61}
62
63#endif // VCARDVIEWER_H
64
folderdiaquotatab.h
Definition: aboutdata.cpp:40