umbrello API Documentation

classifierlistitem.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2003-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #ifndef CLASSIFIERLISTITEM_H
00013 #define CLASSIFIERLISTITEM_H
00014 
00015 #include "umlobject.h"
00016 
00017 // forward declaration
00018 class UMLClassifier;
00019 
00031 class UMLClassifierListItem : public UMLObject {
00032     Q_OBJECT
00033 public:
00046     UMLClassifierListItem(const UMLObject *parent,
00047                           const QString& name,
00048                           Uml::IDType id = Uml::id_None);
00049 
00060     UMLClassifierListItem(const UMLObject *parent);
00061 
00065     virtual ~UMLClassifierListItem();
00066 
00072     UMLClassifier * getType();
00073 
00079     virtual QString getTypeName();
00080 
00087     void setTypeName( const QString &type );
00088 
00094     virtual void setType(UMLObject *type);
00095 
00102     virtual QString toString(Uml::Signature_Type sig = Uml::st_NoSig);
00103 
00110     virtual bool showPropertiesDialog(QWidget* parent) = 0;
00111 
00116     virtual void copyInto(UMLClassifierListItem *rhs) const;
00117 
00122     virtual UMLObject* clone() const = 0;
00123 
00124 };
00125 
00126 #endif
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:54 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003