umbrello: umbrello/uml1model/umlobjectlist.h Source File

umbrello 2.32.1 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 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2001 Gustavo Madrigal gmadrigal @nextphere.com
5 SPDX-FileCopyrightText: 2002-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7
8 #ifndef UMLOBJECTLIST_H
9 #define UMLOBJECTLIST_H
10
11 #include <QList>
12 #include <QPointer>
13
14 // forward declarations
15 class UMLObject;
16
17 typedef QListIterator<QPointer<UMLObject> >
18 UMLObjectListIt;
19
24 class UMLObjectList : public QList<QPointer<UMLObject> >
25 {
26 public:
27
28 UMLObjectList();
29 virtual ~UMLObjectList();
30
31 virtual void copyInto(UMLObjectList *rhs) const;
32
33 virtual UMLObjectList* clone() const;
34 };
35
36 #endif
UMLObjectList
Definition: umlobjectlist.h:25
UMLObjectList::UMLObjectList
UMLObjectList()
Definition: umlobjectlist.cpp:9
UMLObjectList::~UMLObjectList
virtual ~UMLObjectList()
Definition: umlobjectlist.cpp:13
UMLObjectList::copyInto
virtual void copyInto(UMLObjectList *rhs) const
Definition: umlobjectlist.cpp:21
UMLObjectList::clone
virtual UMLObjectList * clone() const
Definition: umlobjectlist.cpp:43
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
UMLObjectListIt
QListIterator< QPointer< UMLObject > > UMLObjectListIt
Definition: umlobjectlist.h:15