OSDN Git Service

Merge branch 'post-2.4.2'
[tjqt4port/tj2qt4.git] / taskjuggler / JournalEntry.h
1 /*
2  * JournalEntry.h - TaskJuggler
3  *
4  * Copyright (c) 2001, 2002, 2003, 2004, 2005 by Chris Schlaeger <cs@kde.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of version 2 of the GNU General Public License as
8  * published by the Free Software Foundation.
9  *
10  * $Id$
11  */
12
13 #ifndef _JournalEntry_h_
14 #define _JournalEntry_h_
15
16 #include <time.h>
17
18 #include <qstring.h>
19
20 class JournalEntry
21 {
22 public:
23     JournalEntry(time_t d, const QString& s) : date(d), text(s) { }
24     ~JournalEntry() { }
25
26     time_t getDate() const { return date; }
27     const QString& getText() const { return text; }
28
29 private:
30     time_t date;
31     QString text;
32 } ;
33
34 #endif
35