2
* ShiftList.h - TaskJuggler
4
* Copyright (c) 2001, 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
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.
16
#include "CoreAttributesList.h"
26
* @short Stores a list of Shifts.
27
* @author Chris Schlaeger <cs@kde.org>
29
class ShiftList : public CoreAttributesList
34
sorting[0] = TreeMode;
35
sorting[1] = SequenceUp;
37
virtual ~ShiftList() { }
39
Shift* getShift(const QString& id) const;
41
virtual int compareItemsLevel(CoreAttributes* c1, CoreAttributes* c2,
46
* @short Iterator class for ShiftList objects.
48
* @author Chris Schlaeger <cs@kde.org>
50
class ShiftListIterator : public virtual CoreAttributesListIterator
53
explicit ShiftListIterator(const CoreAttributesList& l) :
54
CoreAttributesListIterator(l) { }
55
virtual ~ShiftListIterator() { }