| 1 |
/* |
| 2 |
* BookingList.h - TaskJuggler |
| 3 |
* |
| 4 |
* SPDX-FileCopyrightText: 2001, 2002, 2003, 2004 Chris Schlaeger <[email protected]> |
| 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 |
#ifndef _BookingList_h_ |
| 13 |
#define _BookingList_h_ |
| 14 |
|
| 15 |
#include <QList> |
| 16 |
|
| 17 |
#include "Booking.h" |
| 18 |
|
| 19 |
namespace TJ |
| 20 |
{ |
| 21 |
|
| 22 |
/** |
| 23 |
* @short A list of bookings. |
| 24 |
* @author Chris Schlaeger <[email protected]> |
| 25 |
*/ |
| 26 |
class BookingList : public QList<Booking*> |
| 27 |
{ |
| 28 |
public: |
| 29 |
BookingList() { } |
| 30 |
virtual ~BookingList() { } |
| 31 |
|
| 32 |
typedef QListIterator<Booking*> Iterator; |
| 33 |
|
| 34 |
protected: |
| 35 |
// virtual int compareItems(QCollection::Item i1, QCollection::Item i2); |
| 36 |
}; |
| 37 |
|
| 38 |
} // namespace TJ |
| 39 |
|
| 40 |
#endif |