umbrello  2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umlobjectlist.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2001 Gustavo Madrigal gmadrigal@nextphere.com *
8  * copyright (C) 2002-2014 *
9  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10  ***************************************************************************/
11 
12 #ifndef UMLOBJECTLIST_H
13 #define UMLOBJECTLIST_H
14 
15 #include <QList>
16 #include <QPointer>
17 
18 // forward declarations
19 class UMLObject;
20 
21 typedef QListIterator<QPointer<UMLObject> >
23 
28 class UMLObjectList : public QList<QPointer<UMLObject> >
29 {
30 public:
31 
32  UMLObjectList();
33  virtual ~UMLObjectList();
34 
35  virtual void copyInto(UMLObjectList *rhs) const;
36 
37  virtual UMLObjectList* clone() const;
38 };
39 
40 #endif
Definition: umlobjectlist.h:29
UMLObjectList()
Definition: umlobjectlist.cpp:14
virtual ~UMLObjectList()
Definition: umlobjectlist.cpp:18
virtual void copyInto(UMLObjectList *rhs) const
Definition: umlobjectlist.cpp:26
virtual UMLObjectList * clone() const
Definition: umlobjectlist.cpp:48
The base class for UML objects.
Definition: umlobject.h:75
QListIterator< QPointer< UMLObject > > UMLObjectListIt
Definition: umlobjectlist.h:19