summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/person.h
blob: f29074f9bbfe09c246620d069d38616aa406d7b3 (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 <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
 */