File indexing completed on 2024-04-21 05:43:50

0001 /***************************************************************************
0002  *   Copyright (C) 1999-2005 Trolltech AS                                  *
0003  *   Copyright (C) 2006 David Saxton <david@bluehaze.org>                  *
0004  *                                                                         *
0005  *   This file may be distributed and/or modified under the terms of the   *
0006  *   GNU General Public License version 2 as published by the Free         *
0007  *   Software Foundation                                                   *
0008  ***************************************************************************/
0009 
0010 #ifndef KTL_CANVASITEMLIST_H_
0011 #define KTL_CANVASITEMLIST_H_
0012 
0013 #include <QList>
0014 
0015 #include <map>
0016 
0017 class KtlQCanvasItem;
0018 
0019 typedef std::multimap<double, KtlQCanvasItem *> SortedCanvasItems;
0020 
0021 class KtlQCanvasItemList : public QList<KtlQCanvasItem *>
0022 {
0023 public:
0024     void sort();
0025     KtlQCanvasItemList operator+(const KtlQCanvasItemList &l) const;
0026 };
0027 
0028 #endif // KTL_CANVASITEMLIST_H_