/*
 * Journal.h - TaskJuggler
 *
 * Copyright (c) 2001, 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * $Id$
 */

#ifndef _Journal_h_
#define _Journal_h_

#include <q3ptrlist.h>
//Added by qt3to4:
#include <Q3PtrCollection>

#include "JournalEntry.h"

class Journal : public Q3PtrList<JournalEntry>
{
public:
    Journal()
    {
        setAutoDelete(true);
    }
    ~Journal() { }

    typedef Q3PtrListIterator<JournalEntry> Iterator;

protected:
    virtual int compareItems(Q3PtrCollection::Item item1,
                             Q3PtrCollection::Item item2);
} ;

#endif

