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
454 B
27 lines
454 B
#ifndef __person_h__
|
|
#define __person_h__
|
|
|
|
#include <tqstring.h>
|
|
#include <tdelocale.h>
|
|
|
|
struct Person
|
|
{
|
|
Person() {}
|
|
Person( const TQString &fullName );
|
|
Person( const TQString &_name, const TQString &_email )
|
|
: name( _name ), email( _email ) {}
|
|
|
|
TQString name;
|
|
TQString email;
|
|
|
|
TQString fullName( bool html = false ) const;
|
|
|
|
static Person parseFromString( const TQString &str );
|
|
};
|
|
|
|
#endif
|
|
|
|
/*
|
|
* vim:sw=4:ts=4:et
|
|
*/
|