summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/person.h
blob: 7f6da633ece821cdd3cb045b8a03a808cfb9f306 (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
#ifndef __person_h__
#define __person_h__

#include <tqstring.h>
#include <klocale.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
 */