summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/person.h
blob: 37f086624b874ab2a36d0d4b32a1a0f0f79119fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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