You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
444 B
27 lines
444 B
15 years ago
|
#ifndef __person_h__
|
||
|
#define __person_h__
|
||
|
|
||
|
#include <qstring.h>
|
||
|
#include <klocale.h>
|
||
|
|
||
|
struct Person
|
||
|
{
|
||
|
Person() {}
|
||
|
Person( const QString &fullName );
|
||
|
Person( const QString &_name, const QString &_email )
|
||
|
: name( _name ), email( _email ) {}
|
||
|
|
||
|
QString name;
|
||
|
QString email;
|
||
|
|
||
|
QString fullName( bool html = false ) const;
|
||
|
|
||
|
static Person parseFromString( const QString &str );
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|
||
|
/*
|
||
|
* vim:sw=4:ts=4:et
|
||
|
*/
|