umbrello/umbrello
classifierlistitem.h
Go to the documentation of this file.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 00030 class UMLClassifierListItem : public UMLObject { 00031 Q_OBJECT 00032 public: 00033 00046 UMLClassifierListItem(UMLObject *parent, 00047 const QString& name, 00048 Uml::IDType id = Uml::id_None); 00049 00060 UMLClassifierListItem(UMLObject *parent); 00061 00065 virtual ~UMLClassifierListItem(); 00066 00067 UMLClassifier * getType() const; 00068 00069 virtual QString getTypeName() const; 00070 00071 void setTypeName( const QString &type ); 00072 00073 virtual void setType(UMLObject *type); 00074 00075 virtual QString toString(Uml::Signature_Type sig = Uml::st_NoSig); 00076 00083 virtual bool showPropertiesDialog(QWidget* parent) = 0; 00084 00085 virtual void copyInto(UMLObject *lhs) const; 00086 00091 virtual UMLObject* clone() const = 0; 00092 00093 }; 00094 00095 #endif
KDE 4.4 API Reference