OSDN Git Service

Merge branch 'post-2.4.2'
[tjqt4port/tj2qt4.git] / taskjuggler / Journal.h
1 /*
2  * Journal.h - TaskJuggler
3  *
4  * Copyright (c) 2001, 2002, 2003, 2004 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 _Journal_h_
14 #define _Journal_h_
15
16 #include <qptrlist.h>
17
18 #include "JournalEntry.h"
19
20 class Journal : public QPtrList<JournalEntry>
21 {
22 public:
23     Journal()
24     {
25         setAutoDelete(true);
26     }
27     ~Journal() { }
28
29     typedef QPtrListIterator<JournalEntry> Iterator;
30
31 protected:
32     virtual int compareItems(QPtrCollection::Item item1,
33                              QPtrCollection::Item item2);
34 } ;
35
36 #endif
37