From bcb704366cb5e333a626c18c308c7e0448a8e69f Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/yahoo/libkyahoo/yabentry.h | 91 +++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 kopete/protocols/yahoo/libkyahoo/yabentry.h (limited to 'kopete/protocols/yahoo/libkyahoo/yabentry.h') diff --git a/kopete/protocols/yahoo/libkyahoo/yabentry.h b/kopete/protocols/yahoo/libkyahoo/yabentry.h new file mode 100644 index 00000000..b12845ce --- /dev/null +++ b/kopete/protocols/yahoo/libkyahoo/yabentry.h @@ -0,0 +1,91 @@ +/* + yabentry.h - Encapsulate Yahoo Adressbook information + + Copyright (c) 2005 André Duffeck + Kopete (c) 2002-2006 by the Kopete developers + + ************************************************************************* + * * + * 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 +#include +#include + +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 -- cgit v1.2.1