blob: b12845ce0007b50e6f1045b6daf384a90b8836bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/*
yabentry.h - Encapsulate Yahoo Adressbook information
Copyright (c) 2005 André Duffeck <andre.duffeck@kdemail.net>
Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
*************************************************************************
*/
#ifndef YABEntry_H
#define YABEntry_H
#include <kdebug.h>
#include <qdatetime.h>
#include <qdom.h>
struct YABEntry
{
enum Source { SourceYAB, SourceContact };
// Personal
QString firstName;
QString secondName;
QString lastName;
QString nickName;
QString title;
// Primary Information
QString phoneMobile;
QString email;
QString yahooId;
int YABId;
Source source;
// Additional Information
QString pager;
QString fax;
QString additionalNumber;
QString altEmail1;
QString altEmail2;
QString imAIM;
QString imICQ;
QString imMSN;
QString imGoogleTalk;
QString imSkype;
QString imIRC;
QString imQQ;
// Private Information
QString privateAdress;
QString privateCity;
QString privateState;
QString privateZIP;
QString privateCountry;
QString privatePhone;
QString privateURL;
// Work Information
QString corporation;
QString workAdress;
QString workCity;
QString workState;
QString workZIP;
QString workCountry;
QString workPhone;
QString workURL;
// Miscellanous
QDate birthday;
QDate anniversary;
QString notes;
QString additional1;
QString additional2;
QString additional3;
QString additional4;
void fromQDomElement( const QDomElement &e );
void fromQDomDocument( const QDomDocument &e );
void fillQDomElement( QDomElement &e ) const;
void dump() const;
};
#endif
|