summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bugdetailspart.h
blob: 483057c8ec30a1fbef002196eeaa7f7a438316df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef BUGDETAILSPART_H
#define BUGDETAILSPART_H

#include <qvaluelist.h>
#include <qdatetime.h>

struct BugDetailsPart
{
    typedef QValueList<BugDetailsPart> List;

    BugDetailsPart () {}
    BugDetailsPart( const Person &_sender, const QDateTime &_date,
                    const QString &_text )
        : sender( _sender ), date( _date ), text( _text ) {}
    
    Person sender;
    QDateTime date;
    QString text;
};

#endif